Package org.gnome.gio
Class NativeSocketAddress.NativeSocketAddressClass
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.gnome.gobject.TypeClass
org.gnome.gobject.GObject.ObjectClass
org.gnome.gio.SocketAddress.SocketAddressClass
org.gnome.gio.NativeSocketAddress.NativeSocketAddressClass
- All Implemented Interfaces:
Proxy
- Enclosing class:
NativeSocketAddress
public static class NativeSocketAddress.NativeSocketAddressClass
extends SocketAddress.SocketAddressClass
-
Constructor Summary
ConstructorDescriptionAllocate a new NativeSocketAddressClass.NativeSocketAddressClass
(Arena arena) Allocate a new NativeSocketAddressClass.NativeSocketAddressClass
(MemorySegment address) Create a NativeSocketAddressClass proxy instance for the provided memory address. -
Method Summary
Methods inherited from class org.gnome.gio.SocketAddress.SocketAddressClass
overrideGetFamily, overrideGetNativeSize, overrideToNative
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
-
NativeSocketAddressClass
Create a NativeSocketAddressClass proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
NativeSocketAddressClass
Allocate a new NativeSocketAddressClass.- Parameters:
arena
- to control the memory allocation scope
-
NativeSocketAddressClass
public NativeSocketAddressClass()Allocate a new NativeSocketAddressClass. The memory is allocated withArena.ofAuto()
.
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-