Class Proxy.ProxyInterface

All Implemented Interfaces:
Proxy
Enclosing interface:
Proxy

public static class Proxy.ProxyInterface extends TypeInterface
Provides an interface for handling proxy connection and payload.
Since:
2.26
  • Constructor Details

    • ProxyInterface

      public ProxyInterface(MemorySegment address)
      Create a ProxyInterface 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
    • overrideConnect

      public void overrideConnect(Arena arena, @Nullable Method method)
      Override virtual method connect.
      Parameters:
      method - the method to invoke
    • overrideConnectAsync

      public void overrideConnectAsync(Arena arena, @Nullable Method method)
      Override virtual method connect_async.
      Parameters:
      method - the method to invoke
    • overrideConnectFinish

      public void overrideConnectFinish(Arena arena, @Nullable Method method)
      Override virtual method connect_finish.
      Parameters:
      method - the method to invoke
    • overrideSupportsHostname

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