gio.dbus_interface_skeleton

Module for [DBusInterfaceSkeleton] class

Types 3

Abstract base class for D-Bus interfaces on the service side.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
DBusInterfaceSkeleton self() nothrowReturns `this`, for use in `with` statements.
DBusInterfaceSkeletonGidBuilder builder() static nothrowGet builder for [gio.dbus_interface_skeleton.DBusInterfaceSkeleton] Returns: New builder object
gio.types.DBusInterfaceSkeletonFlags gFlags() @property nothrowGet `gFlags` property. Returns: Flags from the #GDBusInterfaceSkeletonFlags enumeration.
void gFlags(gio.types.DBusInterfaceSkeletonFlags propval) @property nothrowSet `gFlags` property. Params: propval = Flags from the #GDBusInterfaceSkeletonFlags enumeration.
bool export_(gio.dbus_connection.DBusConnection connection, string objectPath)Exports interface_ at object_path on connection.
void flush() nothrowIf interface_ has outstanding changes, request for these changes to be emitted immediately.
gio.dbus_connection.DBusConnection getConnection() nothrowGets the first connection that interface_ is exported on, if any. Returns: A #GDBusConnection or null if interface_ is not exported anywhere. Do not free, the object belongs to interface_.
gio.dbus_connection.DBusConnection[] getConnections() nothrowGets a list of the connections that interface_ is exported on. Returns: A list of all the connections that interface_ is exported on. The returned list should be freed with [glib.list.List.free] af...
gio.types.DBusInterfaceSkeletonFlags getFlags() nothrowGets the #GDBusInterfaceSkeletonFlags that describes what the behavior of interface_ Returns: One or more flags from the #GDBusInterfaceSkeletonFlags enumeration.
gio.dbus_interface_info.DBusInterfaceInfo getInfo() nothrowGets D-Bus introspection information for the D-Bus interface implemented by interface_. Returns: A #GDBusInterfaceInfo (never null). Do not free.
string getObjectPath() nothrowGets the object path that interface_ is exported on, if any. Returns: A string owned by interface_ or null if interface_ is not exported anywhere. Do not free, the string belongs to interface_.
glib.variant.Variant getProperties() nothrowGets all D-Bus properties for interface_. Returns: A #GVariant of type ['a{sv}'][G-VARIANT-TYPE-VARDICT:CAPS]. Free with [glib.variant.Variant.unref].
gio.types.DBusInterfaceVTable getVtable() nothrowGets the interface vtable for the D-Bus interface implemented by interface_. The returned function pointers should expect interface_ itself to be passed as user_data. Returns: the vtable of the D-B...
bool hasConnection(gio.dbus_connection.DBusConnection connection) nothrowChecks if interface_ is exported on connection.
void setFlags(gio.types.DBusInterfaceSkeletonFlags flags) nothrowSets flags describing what the behavior of skeleton should be.
void unexport() nothrowStops exporting interface_ on all connections it is exported on.
void unexportFromConnection(gio.dbus_connection.DBusConnection connection) nothrowStops exporting interface_ on connection.
gulong connectGAuthorizeMethod(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == bool) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gio.dbus_method_invocation.DBusMethodInvocation))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] : gio.dbus_interface_skeleton.DBusInterfaceSkeleton))) && Parameters!T.length < 3) nothrowConnect to `GAuthorizeMethod` signal.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder implementation template for gio.dbus_interface_skeleton.DBusInterfaceSkeleton

Methods
T gFlags(gio.types.DBusInterfaceSkeletonFlags propval) nothrowSet `gFlags` property. Params: propval = Flags from the #GDBusInterfaceSkeletonFlags enumeration. Returns: Builder instance for fluent chaining