DBusObjectSkeleton

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

Constructors

this
this(GDBusObjectSkeleton* gDBusObjectSkeleton, bool ownedRef = false)

Sets our main struct and passes it to the parent class.

this
this(string objectPath)

Creates a new GDBusObjectSkeleton

Members

Functions

addInterface
void addInterface(DBusInterfaceSkeleton interface_)

Adds interface_ to object.

addOnAuthorizeMethod
gulong addOnAuthorizeMethod(bool delegate(DBusInterfaceSkeleton, DBusMethodInvocation, DBusObjectSkeleton) dlg, ConnectFlags connectFlags = cast(ConnectFlags)0)

Emitted when a method is invoked by a remote caller and used to determine if the method call is authorized.

flush
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.

getDBusObjectSkeletonStruct
GDBusObjectSkeleton* getDBusObjectSkeletonStruct(bool transferOwnership = false)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

removeInterface
void removeInterface(DBusInterfaceSkeleton interface_)

Removes interface_ from object.

removeInterfaceByName
void removeInterfaceByName(string interfaceName)

Removes the GDBusInterface with interface_name from object.

setObjectPath
void setObjectPath(string objectPath)

Sets the object path for object.

Static functions

getType
GType getType()

Variables

gDBusObjectSkeleton
GDBusObjectSkeleton* gDBusObjectSkeleton;

the main Gtk struct

Meta

Since

2.30