Package org.gnome.gio
Class SocketAddress.SocketAddressClass
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.gnome.gobject.TypeClass
org.gnome.gobject.GObject.ObjectClass
org.gnome.gio.SocketAddress.SocketAddressClass
- All Implemented Interfaces:
Proxy
- Direct Known Subclasses:
InetSocketAddress.InetSocketAddressClass
,NativeSocketAddress.NativeSocketAddressClass
,UnixSocketAddress.UnixSocketAddressClass
- Enclosing class:
SocketAddress
-
Constructor Summary
ConstructorDescriptionAllocate a new SocketAddressClass.SocketAddressClass
(Arena arena) Allocate a new SocketAddressClass.SocketAddressClass
(MemorySegment address) Create a SocketAddressClass proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.void
overrideGetFamily
(Arena arena, Method method) Override virtual methodget_family
.void
overrideGetNativeSize
(Arena arena, Method method) Override virtual methodget_native_size
.void
overrideToNative
(Arena arena, Method method) Override virtual methodto_native
.Methods inherited from class org.gnome.gobject.GObject.ObjectClass
findProperty, installProperties, installProperty, listProperties, overrideConstructed, overrideConstructor, overrideDispatchPropertiesChanged, overrideDispose, overrideFinalize, overrideGetProperty, overrideNotify, overrideProperty, overrideSetProperty, readFlags, readNConstructProperties, readNPspecs, readPdummy, readPspecs, writeFlags, writeNConstructProperties, writeNPspecs, writePdummy, writePspecs
Methods inherited from class org.gnome.gobject.TypeClass
addPrivate, adjustPrivateOffset, getInstancePrivateOffset, getPrivate, peek, peekParent, peekStatic, readGType, ref, unref, unrefUncached, writeGType
Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
SocketAddressClass
Create a SocketAddressClass proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
SocketAddressClass
Allocate a new SocketAddressClass.- Parameters:
arena
- to control the memory allocation scope
-
SocketAddressClass
public SocketAddressClass()Allocate a new SocketAddressClass. The memory is allocated withArena.ofAuto()
.
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
overrideGetFamily
-
overrideGetNativeSize
-
overrideToNative
-