Package ch.bailu.gtk.gio
Class DBusInterface
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.type.Interface
ch.bailu.gtk.gio.DBusInterface
- All Implemented Interfaces:
PointerInterface
The #GDBusInterface type is the base type for D-Bus interfaces both
on the service side (see #GDBusInterfaceSkeleton) and client side
(see #GDBusProxy).
on the service side (see #GDBusInterfaceSkeleton) and client side
(see #GDBusProxy).
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify
-
Field Summary
Fields inherited from class ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the #GDBusObject that @interface_ belongs to, if any.static ClassHandler
getInfo()
Gets D-Bus introspection information for the D-Bus interface
implemented by @interface_.static int
Gets the #GDBusObject that @interface_ belongs to, if any.static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
void
setObject
(DBusObject object) Sets the #GDBusObject for @interface_ to @object.Methods inherited from class ch.bailu.gtk.gobject.Object
addToggleRef, bindProperty, bindProperty, bindPropertyFull, bindPropertyFull, bindPropertyWithClosures, bindPropertyWithClosures, compatControl, connect, connect, disconnect, disconnect, dupData, dupData, dupQdata, forceFloating, freezeNotify, get, get, getData, getData, getProperty, getProperty, getQdata, interfaceFindProperty, interfaceInstallProperty, isFloating, notify, notify, notifyByPspec, onNotify, ref, refSink, removeToggleRef, replaceData, replaceData, replaceQdata, runDispose, set, set, setData, setData, setDataFull, setDataFull, setProperty, setProperty, setQdata, setQdataFull, stealData, stealData, stealQdata, takeRef, thawNotify, unref, watchClosure, weakRef, weakUnref
Methods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Constructor Details
-
DBusInterface
-
-
Method Details
-
getClassHandler
-
dupObject
Gets the #GDBusObject that @interface_ belongs to, if any.- Returns:
- A #GDBusObject or %NULL. The returned reference should be freed with g_object_unref().
-
getInfo
Gets D-Bus introspection information for the D-Bus interface
implemented by @interface_.- Returns:
- A #GDBusInterfaceInfo. Do not free.
-
getObject
Gets the #GDBusObject that @interface_ belongs to, if any.
It is not safe to use the returned object if @interface_ or
the returned object is being used from other threads. See
g_dbus_interface_dup_object() for a thread-safe alternative.- Returns:
- A #GDBusObject or %NULL. The returned reference belongs to @interface_ and should not be freed.
-
setObject
Sets the #GDBusObject for @interface_ to @object.
Note that @interface_ will hold a weak reference to @object.- Parameters:
object
- A #GDBusObject or %NULL.
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-