Class SocketAddress.SocketAddressClass

All Implemented Interfaces:
Proxy
Direct Known Subclasses:
InetSocketAddress.InetSocketAddressClass, NativeSocketAddress.NativeSocketAddressClass, UnixSocketAddress.UnixSocketAddressClass
Enclosing class:
SocketAddress

public static class SocketAddress.SocketAddressClass extends GObject.ObjectClass
  • Constructor Details

    • SocketAddressClass

      public SocketAddressClass(MemorySegment address)
      Create a SocketAddressClass proxy instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
  • Method Details

    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • overrideGetFamily

      public void overrideGetFamily(Arena arena, @Nullable Method method)
      Override virtual method get_family.
      Parameters:
      method - the method to invoke
    • overrideGetNativeSize

      public void overrideGetNativeSize(Arena arena, @Nullable Method method)
      Override virtual method get_native_size.
      Parameters:
      method - the method to invoke
    • overrideToNative

      public void overrideToNative(Arena arena, @Nullable Method method)
      Override virtual method to_native.
      Parameters:
      method - the method to invoke