Class

GioDBusObjectSkeleton

Description [src]

class Gio.DBusObjectSkeleton : GObject.Object {
  /* No available fields */
}

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.

Available since:2.30

Hierarchy

hierarchy this GDBusObjectSkeleton implements_0 GDBusObject this--implements_0 ancestor_0 GObject ancestor_0--this

Ancestors

Implements

Constructors

g_dbus_object_skeleton_new

Creates a new GDBusObjectSkeleton.

Available since: 2.30

Instance methods

g_dbus_object_skeleton_add_interface

Adds interface_ to object.

Available since: 2.30

g_dbus_object_skeleton_flush

This method simply calls g_dbus_interface_skeleton_flush() on all interfaces belonging to object. See that method for when flushing is useful.

Available since: 2.30

g_dbus_object_skeleton_remove_interface

Removes interface_ from object.

Available since: 2.30

g_dbus_object_skeleton_remove_interface_by_name

Removes the GDBusInterface with interface_name from object.

Available since: 2.30

g_dbus_object_skeleton_set_object_path

Sets the object path for object.

Available since: 2.30

Methods inherited from GObject (43)
Methods inherited from GDBusObject (3)
g_dbus_object_get_interface

Gets the D-Bus interface with name interface_name associated with object, if any.

Available since: 2.30

g_dbus_object_get_interfaces

Gets the D-Bus interfaces associated with object.

Available since: 2.30

g_dbus_object_get_object_path

Gets the object path for object.

Available since: 2.30

Properties

Gio.DBusObjectSkeleton:g-object-path

The object path where the object is exported.

Available since: 2.30

Signals

Gio.DBusObjectSkeleton::authorize-method

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

Available since: 2.30

Signals inherited from GObject (1)
Signals inherited from GDBusObject (2)
Gio.DBusObject::interface-added

Emitted when interface is added to object.

Available since: 2.30

Gio.DBusObject::interface-removed

Emitted when interface is removed from object.

Available since: 2.30

Class structure

struct GioDBusObjectSkeletonClass {
  GObjectClass parent_class;
  gboolean (* authorize_method) (
    GDBusObjectSkeleton* object,
    GDBusInterfaceSkeleton* interface_,
    GDBusMethodInvocation* invocation
  );
  
}
Class members
parent_class
GObjectClass
 

The parent class.

authorize_method
gboolean (* authorize_method) (
    GDBusObjectSkeleton* object,
    GDBusInterfaceSkeleton* interface_,
    GDBusMethodInvocation* invocation
  )
  No description available.

Virtual methods