Package ch.bailu.gtk.gio
Class DBusArgInfo
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gio.DBusArgInfo
- All Implemented Interfaces:
PointerInterface
Information about an argument for a method or a signal.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandlerName of the argument, e.g.intThe reference count or -1 if statically allocated.D-Bus signature of the argument (a single complete type).static intstatic longstatic TypeSystem.TypeSizestatic longstatic TypeSystem.TypeSizeref()If @info is statically allocated does nothing.voidsetFieldName(Str name) Name of the argument, e.g.voidsetFieldRefCount(int ref_count) The reference count or -1 if statically allocated.voidsetFieldSignature(Str signature) D-Bus signature of the argument (a single complete type).voidunref()If @info is statically allocated, does nothing.Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksMethods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Field Details
-
REF_COUNT
The reference count or -1 if statically allocated.- See Also:
-
NAME
Name of the argument, e.g. @unix_user_id.- See Also:
-
SIGNATURE
D-Bus signature of the argument (a single complete type).- See Also:
-
-
Constructor Details
-
DBusArgInfo
-
-
Method Details
-
getClassHandler
-
setFieldRefCount
public void setFieldRefCount(int ref_count) The reference count or -1 if statically allocated. -
getFieldRefCount
public int getFieldRefCount()The reference count or -1 if statically allocated. -
setFieldName
Name of the argument, e.g. @unix_user_id. -
getFieldName
Name of the argument, e.g. @unix_user_id. -
setFieldSignature
D-Bus signature of the argument (a single complete type). -
getFieldSignature
D-Bus signature of the argument (a single complete type). -
ref
If @info is statically allocated does nothing. Otherwise increases
the reference count.- Returns:
- The same @info.
-
unref
public void unref()If @info is statically allocated, does nothing. Otherwise decreases
the reference count of @info. When its reference count drops to 0,
the memory used is freed. -
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-