Package ch.bailu.gtk.gio
Class DBusObjectManager
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.DBusObjectManager
- All Implemented Interfaces:
PointerInterface
The #GDBusObjectManager type is the base type for service- and
client-side implementations of the standardized
[org.freedesktop.DBus.ObjectManager](http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager)
interface.
See #GDBusObjectManagerClient for the client-side implementation
and #GDBusObjectManagerServer for the service-side implementation.
client-side implementations of the standardized
[org.freedesktop.DBus.ObjectManager](http://dbus.freedesktop.org/doc/dbus-specification.html#standard-interfaces-objectmanager)
interface.
See #GDBusObjectManagerClient for the client-side implementation
and #GDBusObjectManagerServer for the service-side implementation.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
static interface
static interface
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
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
Fields inherited from class ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
static int
getInterface
(Str object_path, Str interface_name) Gets the interface proxy for @interface_name at @object_path, if
any.getInterface
(String object_path, String interface_name) Gets the interface proxy for @interface_name at @object_path, if
any.Gets the #GDBusObject at @object_path, if any.Gets the #GDBusObject at @object_path, if any.Gets the object path that @manager is for.Gets all #GDBusObject objects known to @manager.static long
static TypeSystem.TypeSize
static long
static TypeSystem.TypeSize
Connect to signal "interface-added".Connect to signal "interface-removed".Connect to signal "object-added".Connect to signal "object-removed".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
-
Field Details
-
SIGNAL_ON_INTERFACE_ADDED
- See Also:
-
SIGNAL_ON_INTERFACE_REMOVED
- See Also:
-
SIGNAL_ON_OBJECT_ADDED
- See Also:
-
SIGNAL_ON_OBJECT_REMOVED
- See Also:
-
-
Constructor Details
-
DBusObjectManager
-
-
Method Details
-
getClassHandler
-
getInterface
Gets the interface proxy for @interface_name at @object_path, if
any.- Parameters:
object_path
- Object path to look up.interface_name
- D-Bus interface name to look up.- Returns:
- A #GDBusInterface instance or %NULL. Free with g_object_unref().
-
getInterface
Gets the interface proxy for @interface_name at @object_path, if
any.- Parameters:
object_path
- Object path to look up.interface_name
- D-Bus interface name to look up.- Returns:
- A #GDBusInterface instance or %NULL. Free with g_object_unref().
-
getObject
Gets the #GDBusObject at @object_path, if any.- Parameters:
object_path
- Object path to look up.- Returns:
- A #GDBusObject or %NULL. Free with g_object_unref().
-
getObject
Gets the #GDBusObject at @object_path, if any.- Parameters:
object_path
- Object path to look up.- Returns:
- A #GDBusObject or %NULL. Free with g_object_unref().
-
getObjectPath
Gets the object path that @manager is for.- Returns:
- A string owned by @manager. Do not free.
-
getObjects
Gets all #GDBusObject objects known to @manager.- Returns:
- A list of #GDBusObject objects. The returned list should be freed with g_list_free() after each element has been freed with g_object_unref().
-
onInterfaceAdded
Connect to signal "interface-added".
SeeDBusObjectManager.OnInterfaceAdded.onInterfaceAdded(ch.bailu.gtk.gio.DBusObject, ch.bailu.gtk.gio.DBusInterface)
for signal description.
FieldSIGNAL_ON_INTERFACE_ADDED
contains original signal name and can be used as resource reference.- Parameters:
signal
- callback function (lambda).- Returns:
SignalHandler
. Can be used to disconnect signal and to release callback function.
-
onInterfaceRemoved
Connect to signal "interface-removed".
SeeDBusObjectManager.OnInterfaceRemoved.onInterfaceRemoved(ch.bailu.gtk.gio.DBusObject, ch.bailu.gtk.gio.DBusInterface)
for signal description.
FieldSIGNAL_ON_INTERFACE_REMOVED
contains original signal name and can be used as resource reference.- Parameters:
signal
- callback function (lambda).- Returns:
SignalHandler
. Can be used to disconnect signal and to release callback function.
-
onObjectAdded
Connect to signal "object-added".
SeeDBusObjectManager.OnObjectAdded.onObjectAdded(ch.bailu.gtk.gio.DBusObject)
for signal description.
FieldSIGNAL_ON_OBJECT_ADDED
contains original signal name and can be used as resource reference.- Parameters:
signal
- callback function (lambda).- Returns:
SignalHandler
. Can be used to disconnect signal and to release callback function.
-
onObjectRemoved
Connect to signal "object-removed".
SeeDBusObjectManager.OnObjectRemoved.onObjectRemoved(ch.bailu.gtk.gio.DBusObject)
for signal description.
FieldSIGNAL_ON_OBJECT_REMOVED
contains original signal name and can be used as resource reference.- Parameters:
signal
- callback function (lambda).- Returns:
SignalHandler
. Can be used to disconnect signal and to release callback function.
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-