Package ch.bailu.gtk.gio
Klasse DBusObjectSkeleton
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.gobject.Object
ch.bailu.gtk.type.PropertyHolder
ch.bailu.gtk.gio.DBusObjectSkeleton
- Alle implementierten Schnittstellen:
PointerInterface
A `GDBusObjectSkeleton` instance is essentially a group of D-Bus
interfaces. The set of exported interfaces on the object may be
dynamic and change at runtime.
This type is intended to be used with [iface@Gio.DBusObjectManager].
interfaces. The set of exported interfaces on the object may be
dynamic and change at runtime.
This type is intended to be used with [iface@Gio.DBusObjectManager].
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenVon Klasse geerbte verschachtelte Klassen/Schnittstellen ch.bailu.gtk.gobject.Object
Object.OnBindingTransformFunc, Object.OnDestroyNotify, Object.OnDuplicateFunc, Object.OnNotify, Object.OnToggleNotify, Object.OnWeakNotify -
Feldübersicht
FelderVon Klasse geerbte Felder ch.bailu.gtk.gobject.Object
SIGNAL_ON_NOTIFY -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungDBusObjectSkeleton(PointerContainer pointer) DBusObjectSkeleton(Str object_path) Creates a new #GDBusObjectSkeleton.DBusObjectSkeleton(String object_path) Creates a new #GDBusObjectSkeleton. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddInterface(DBusInterfaceSkeleton interface_) Adds @interface_ to @object.Implements interfaceDBusObject.voidflush()This method simply calls g_dbus_interface_skeleton_flush() on all
interfaces belonging to @object.static ClassHandlerstatic intstatic longstatic TypeSystem.TypeSizestatic longstatic TypeSystem.TypeSizeConnect to signal "authorize-method".voidremoveInterface(DBusInterfaceSkeleton interface_) Removes @interface_ from @object.voidremoveInterfaceByName(Str interface_name) Removes the #GDBusInterface with @interface_name from @object.voidremoveInterfaceByName(String interface_name) Removes the #GDBusInterface with @interface_name from @object.voidsetObjectPath(Str object_path) Sets the object path for @object.voidsetObjectPath(String object_path) Sets the object path for @object.Von Klasse geerbte Methoden ch.bailu.gtk.type.PropertyHolder
getBooleanProperty, getIntProperty, getObjectProperty, getStringProperty, getStrProperty, setBooleanProperty, setIntProperty, setObjectProperty, setStringProperty, setStrPropertyVon Klasse geerbte Methoden 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, weakUnrefVon Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksVon Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Felddetails
-
SIGNAL_ON_AUTHORIZE_METHOD
- Siehe auch:
-
-
Konstruktordetails
-
DBusObjectSkeleton
-
DBusObjectSkeleton
Creates a new #GDBusObjectSkeleton.- Parameter:
object_path- An object path.
-
DBusObjectSkeleton
Creates a new #GDBusObjectSkeleton.- Parameter:
object_path- An object path.
-
-
Methodendetails
-
getClassHandler
-
addInterface
Adds @interface_ to @object.
If @object already contains a #GDBusInterfaceSkeleton with the same
interface name, it is removed before @interface_ is added.
Note that @object takes its own reference on @interface_ and holds
it until removed.- Parameter:
interface_- A #GDBusInterfaceSkeleton.
-
flush
public void flush()This method simply calls g_dbus_interface_skeleton_flush() on all
interfaces belonging to @object. See that method for when flushing
is useful. -
removeInterface
Removes @interface_ from @object.- Parameter:
interface_- A #GDBusInterfaceSkeleton.
-
removeInterfaceByName
Removes the #GDBusInterface with @interface_name from @object.
If no D-Bus interface of the given interface exists, this function
does nothing.- Parameter:
interface_name- A D-Bus interface name.
-
removeInterfaceByName
Removes the #GDBusInterface with @interface_name from @object.
If no D-Bus interface of the given interface exists, this function
does nothing.- Parameter:
interface_name- A D-Bus interface name.
-
setObjectPath
Sets the object path for @object.- Parameter:
object_path- A valid D-Bus object path.
-
setObjectPath
Sets the object path for @object.- Parameter:
object_path- A valid D-Bus object path.
-
onAuthorizeMethod
Connect to signal "authorize-method".
SeeDBusObjectSkeleton.OnAuthorizeMethod.onAuthorizeMethod(ch.bailu.gtk.gio.DBusInterfaceSkeleton, ch.bailu.gtk.gio.DBusMethodInvocation)for signal description.
FieldSIGNAL_ON_AUTHORIZE_METHODcontains original signal name and can be used as resource reference.- Parameter:
signal- callback function (lambda).- Gibt zurück:
SignalHandler. Can be used to disconnect signal and to release callback function.
-
asDBusObject
Implements interfaceDBusObject. Call this to get access to interface functions.- Gibt zurück:
DBusObject
-
getTypeID
public static long getTypeID() -
getParentTypeID
public static long getParentTypeID() -
getTypeSize
-
getParentTypeSize
-
getInstanceSize
public static int getInstanceSize()
-