It derives from <GObject>.
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
<GDBusObjectManager>.
The object path where the object is exported.
Its value is a string, or #f.
Set it with (set! (dbus-object-skeleton:g-object-path self)
value).
Adds interface- to self.
If self already contains a
<GDBusInterfaceSkeleton> with the
same interface name, it is removed before interface- is added.
Note that self takes its own reference on interface- and holds it until removed.
Passed: a <GDBusObjectSkeleton>.
Passed: a <GDBusInterfaceSkeleton>.
This method simply calls dbus-interface-skeleton:flush on all interfaces belonging to
self. See that method for when flushing is useful.
Passed: a <GDBusObjectSkeleton>.
Creates a new <GDBusObjectSkeleton>.
Passed: a string.
An object path.
Returned: a <GDBusObjectSkeleton>.
A <GDBusObjectSkeleton>. Free with
object:unref.
Removes interface- from self.
Passed: a <GDBusObjectSkeleton>.
Passed: a <GDBusInterfaceSkeleton>.
Removes the <GDBusInterface> with
interface-name from self.
If no D-Bus interface of the given interface exists, this function does nothing.
Passed: a <GDBusObjectSkeleton>.
Passed: a string.
A D-Bus interface name.
Sets the object path for self.
Passed: a <GDBusObjectSkeleton>.
Passed: a string.
A valid D-Bus object path.
Connect a handler with (connect object
dbus-object-skeleton:authorize-method handler). It is called as
(handler self interface invocation) ⇒ %return.
Emitted when a method is invoked by a remote caller and used to determine if the method call is authorized.
This signal is like
<GDBusInterfaceSkeleton>’s
dbus-interface-skeleton:g-authorize-method signal,
except that it is for the enclosing object.
The default class handler just returns #t.
Passed: a <GDBusObjectSkeleton>.
Passed: a <GDBusInterfaceSkeleton>.
The <GDBusInterfaceSkeleton> that
invocation is for.
Passed: a <GDBusMethodInvocation>.
Returned: a boolean.
#t if the call is authorized, #f otherwise.
Signal class handler for the dbus-object-skeleton:authorize-method signal.
To override it in a new class, give register-type #:vfuncs
`((authorize-method . ,procedure)). The procedure is called as
(procedure self interface- invocation) ⇒ %return.
Passed: the class whose implementation to call:
<GDBusObjectSkeleton>, or a class that
derives from it, or its GType number.
Passed: a <GDBusObjectSkeleton>.
Passed: a <GDBusInterfaceSkeleton>.
Passed: a <GDBusMethodInvocation>.
Returned: a boolean.