Package ch.bailu.gtk.gio
Klasse DBusInterfaceInfo
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gio.DBusInterfaceInfo
- Alle implementierten Schnittstellen:
PointerInterface
Information about a D-Bus interface.
-
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
Builds a lookup-cache to speed up
g_dbus_interface_info_lookup_method(),
g_dbus_interface_info_lookup_signal() and
g_dbus_interface_info_lookup_property().void
Decrements the usage count for the cache for @info built by
g_dbus_interface_info_cache_build() (if any) and frees the
resources used by the cache if the usage count drops to zero.void
generateXml
(int indent, GString string_builder) Appends an XML representation of @info (and its children) to @string_builder.static ClassHandler
The name of the D-Bus interface, e.g.int
The reference count or -1 if statically allocated.static int
static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
lookupMethod
(Str name) Looks up information about a method.lookupMethod
(String name) Looks up information about a method.lookupProperty
(Str name) Looks up information about a property.lookupProperty
(String name) Looks up information about a property.lookupSignal
(Str name) Looks up information about a signal.lookupSignal
(String name) Looks up information about a signal.ref()
If @info is statically allocated does nothing.void
setFieldName
(Str name) The name of the D-Bus interface, e.g.void
setFieldRefCount
(int ref_count) The reference count or -1 if statically allocated.void
unref()
If @info is statically allocated, does nothing.Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Felddetails
-
REF_COUNT
The reference count or -1 if statically allocated.- Siehe auch:
-
NAME
The name of the D-Bus interface, e.g. "org.freedesktop.DBus.Properties".- Siehe auch:
-
-
Konstruktordetails
-
DBusInterfaceInfo
-
-
Methodendetails
-
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
The name of the D-Bus interface, e.g. "org.freedesktop.DBus.Properties". -
getFieldName
The name of the D-Bus interface, e.g. "org.freedesktop.DBus.Properties". -
cacheBuild
public void cacheBuild()Builds a lookup-cache to speed up
g_dbus_interface_info_lookup_method(),
g_dbus_interface_info_lookup_signal() and
g_dbus_interface_info_lookup_property().
If this has already been called with @info, the existing cache is
used and its use count is increased.
Note that @info cannot be modified until
g_dbus_interface_info_cache_release() is called. -
cacheRelease
public void cacheRelease()Decrements the usage count for the cache for @info built by
g_dbus_interface_info_cache_build() (if any) and frees the
resources used by the cache if the usage count drops to zero. -
generateXml
Appends an XML representation of @info (and its children) to @string_builder.
This function is typically used for generating introspection XML
documents at run-time for handling the
`org.freedesktop.DBus.Introspectable.Introspect`
method.- Parameter:
indent
- Indentation level.string_builder
- A #GString to to append XML data to.
-
lookupMethod
Looks up information about a method.
The cost of this function is O(n) in number of methods unless
g_dbus_interface_info_cache_build() has been used on @info.- Parameter:
name
- A D-Bus method name (typically in CamelCase)- Gibt zurück:
- A #GDBusMethodInfo or %NULL if not found. Do not free, it is owned by @info.
-
lookupMethod
Looks up information about a method.
The cost of this function is O(n) in number of methods unless
g_dbus_interface_info_cache_build() has been used on @info.- Parameter:
name
- A D-Bus method name (typically in CamelCase)- Gibt zurück:
- A #GDBusMethodInfo or %NULL if not found. Do not free, it is owned by @info.
-
lookupProperty
Looks up information about a property.
The cost of this function is O(n) in number of properties unless
g_dbus_interface_info_cache_build() has been used on @info.- Parameter:
name
- A D-Bus property name (typically in CamelCase).- Gibt zurück:
- A #GDBusPropertyInfo or %NULL if not found. Do not free, it is owned by @info.
-
lookupProperty
Looks up information about a property.
The cost of this function is O(n) in number of properties unless
g_dbus_interface_info_cache_build() has been used on @info.- Parameter:
name
- A D-Bus property name (typically in CamelCase).- Gibt zurück:
- A #GDBusPropertyInfo or %NULL if not found. Do not free, it is owned by @info.
-
lookupSignal
Looks up information about a signal.
The cost of this function is O(n) in number of signals unless
g_dbus_interface_info_cache_build() has been used on @info.- Parameter:
name
- A D-Bus signal name (typically in CamelCase)- Gibt zurück:
- A #GDBusSignalInfo or %NULL if not found. Do not free, it is owned by @info.
-
lookupSignal
Looks up information about a signal.
The cost of this function is O(n) in number of signals unless
g_dbus_interface_info_cache_build() has been used on @info.- Parameter:
name
- A D-Bus signal name (typically in CamelCase)- Gibt zurück:
- A #GDBusSignalInfo or %NULL if not found. Do not free, it is owned by @info.
-
ref
If @info is statically allocated does nothing. Otherwise increases
the reference count.- Gibt zurück:
- 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()
-