Package org.gnome.gio
Class DBusSubtreeVTable
java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.gio.DBusSubtreeVTable
- All Implemented Interfaces:
Proxy
Virtual table for handling subtrees registered with g_dbus_connection_register_subtree().
- Since:
- 2.26
-
Constructor Summary
ConstructorsConstructorDescriptionAllocate a new DBusSubtreeVTable.DBusSubtreeVTable(Arena arena) Allocate a new DBusSubtreeVTable.DBusSubtreeVTable(MemorySegment address) Create a DBusSubtreeVTable proxy instance for the provided memory address.DBusSubtreeVTable(DBusSubtreeEnumerateFunc enumerate, DBusSubtreeIntrospectFunc introspect, DBusSubtreeDispatchFunc dispatch) Allocate a new DBusSubtreeVTable with the fields set to the provided values.DBusSubtreeVTable(DBusSubtreeEnumerateFunc enumerate, DBusSubtreeIntrospectFunc introspect, DBusSubtreeDispatchFunc dispatch, Arena arena) Allocate a new DBusSubtreeVTable with the fields set to the provided values. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayoutThe memory layout of the native struct.@Nullable DBusSubtreeDispatchFuncRead the value of the fielddispatch.@Nullable DBusSubtreeEnumerateFuncRead the value of the fieldenumerate.@Nullable DBusSubtreeIntrospectFuncRead the value of the fieldintrospect.voidwriteDispatch(@Nullable DBusSubtreeDispatchFunc dispatch, Arena _arena) Write a value in the fielddispatch.voidwriteEnumerate(@Nullable DBusSubtreeEnumerateFunc enumerate, Arena _arena) Write a value in the fieldenumerate.voidwriteIntrospect(@Nullable DBusSubtreeIntrospectFunc introspect, Arena _arena) Write a value in the fieldintrospect.Methods inherited from class org.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
DBusSubtreeVTable
Create a DBusSubtreeVTable proxy instance for the provided memory address.- Parameters:
address- the memory address of the native object
-
DBusSubtreeVTable
Allocate a new DBusSubtreeVTable.- Parameters:
arena- to control the memory allocation scope
-
DBusSubtreeVTable
public DBusSubtreeVTable()Allocate a new DBusSubtreeVTable. The memory is allocated withArena.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 fieldenumerateintrospect- value for the fieldintrospectdispatch- value for the fielddispatcharena- 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 withArena.ofAuto().- Parameters:
enumerate- value for the fieldenumerateintrospect- value for the fieldintrospectdispatch- value for the fielddispatch
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
readEnumerate
Read the value of the fieldenumerate.- Returns:
- The value of the field
enumerate
-
writeEnumerate
Write a value in the fieldenumerate.- Parameters:
enumerate- The new value for the fieldenumerate_arena- to control the memory allocation scope
-
readIntrospect
Read the value of the fieldintrospect.- Returns:
- The value of the field
introspect
-
writeIntrospect
Write a value in the fieldintrospect.- Parameters:
introspect- The new value for the fieldintrospect_arena- to control the memory allocation scope
-
readDispatch
Read the value of the fielddispatch.- Returns:
- The value of the field
dispatch
-
writeDispatch
Write a value in the fielddispatch.- Parameters:
dispatch- The new value for the fielddispatch_arena- to control the memory allocation scope
-