Class DBusSubtreeVTable

java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.gio.DBusSubtreeVTable
All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class DBusSubtreeVTable extends ProxyInstance
Virtual table for handling subtrees registered with g_dbus_connection_register_subtree().
Since:
2.26
  • Constructor Details

    • DBusSubtreeVTable

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

      public DBusSubtreeVTable(Arena arena)
      Allocate a new DBusSubtreeVTable.
      Parameters:
      arena - to control the memory allocation scope
    • DBusSubtreeVTable

      public DBusSubtreeVTable()
      Allocate a new DBusSubtreeVTable. The memory is allocated with Arena.ofAuto().
    • DBusSubtreeVTable

      public DBusSubtreeVTable(DBusSubtreeEnumerateFunc enumerate, DBusSubtreeIntrospectFunc introspect, DBusSubtreeDispatchFunc dispatch, Arena arena)
      Allocate a new DBusSubtreeVTable with the fields set to the provided values.
      Parameters:
      enumerate - value for the field enumerate
      introspect - value for the field introspect
      dispatch - value for the field dispatch
      arena - to control the memory allocation scope
    • DBusSubtreeVTable

      public DBusSubtreeVTable(DBusSubtreeEnumerateFunc enumerate, DBusSubtreeIntrospectFunc introspect, DBusSubtreeDispatchFunc dispatch)
      Allocate a new DBusSubtreeVTable with the fields set to the provided values. The memory is allocated with Arena.ofAuto().
      Parameters:
      enumerate - value for the field enumerate
      introspect - value for the field introspect
      dispatch - value for the field dispatch
  • Method Details

    • getMemoryLayout

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

      public @Nullable DBusSubtreeEnumerateFunc readEnumerate()
      Read the value of the field enumerate.
      Returns:
      The value of the field enumerate
    • writeEnumerate

      public void writeEnumerate(@Nullable DBusSubtreeEnumerateFunc enumerate, Arena _arena)
      Write a value in the field enumerate.
      Parameters:
      enumerate - The new value for the field enumerate
      _arena - to control the memory allocation scope
    • readIntrospect

      public @Nullable DBusSubtreeIntrospectFunc readIntrospect()
      Read the value of the field introspect.
      Returns:
      The value of the field introspect
    • writeIntrospect

      public void writeIntrospect(@Nullable DBusSubtreeIntrospectFunc introspect, Arena _arena)
      Write a value in the field introspect.
      Parameters:
      introspect - The new value for the field introspect
      _arena - to control the memory allocation scope
    • readDispatch

      public @Nullable DBusSubtreeDispatchFunc readDispatch()
      Read the value of the field dispatch.
      Returns:
      The value of the field dispatch
    • writeDispatch

      public void writeDispatch(@Nullable DBusSubtreeDispatchFunc dispatch, Arena _arena)
      Write a value in the field dispatch.
      Parameters:
      dispatch - The new value for the field dispatch
      _arena - to control the memory allocation scope