Class AsyncInitable.AsyncInitableIface

All Implemented Interfaces:
Proxy
Enclosing interface:
AsyncInitable

public static class AsyncInitable.AsyncInitableIface extends TypeInterface
Provides an interface for asynchronous initializing object such that initialization may fail.
Since:
2.22
  • Constructor Details

    • AsyncInitableIface

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

      public void overrideInitAsync(Arena arena, @Nullable Method method)
      Override virtual method init_async.
      Parameters:
      method - the method to invoke
    • overrideInitFinish

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