Gio.DBusInterfaceSkeleton
Description: Reference for Gio.DBusInterfaceSkeleton

### Class

# GioDBusInterfaceSkeleton

since: 2.30

#### Description [src]

    abstract class Gio.DBusInterfaceSkeleton : GObject.Object
      implements Gio.DBusInterface {
      /* No available fields */
    }

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

Available since: 2.30

#### Hierarchy

#### Ancestors

- GObject

#### Implements

- GDBusInterface

#### Instance methods

###### g_dbus_interface_skeleton_export

Exports `interface_` at `object_path` on `connection`.

since: 2.30

###### g_dbus_interface_skeleton_flush

If `interface_` has outstanding changes, request for these changes to be emitted immediately.

since: 2.30

###### g_dbus_interface_skeleton_get_connection

Gets the first connection that `interface_` is exported on, if any.

since: 2.30

###### g_dbus_interface_skeleton_get_connections

Gets a list of the connections that `interface_` is exported on.

since: 2.32

###### g_dbus_interface_skeleton_get_flags

Gets the `GDBusInterfaceSkeletonFlags` that describes what the behavior of `interface_`.

since: 2.30

###### g_dbus_interface_skeleton_get_info

Gets D-Bus introspection information for the D-Bus interface implemented by `interface_`.

since: 2.30

###### g_dbus_interface_skeleton_get_object_path

Gets the object path that `interface_` is exported on, if any.

since: 2.30

###### g_dbus_interface_skeleton_get_properties

Gets all D-Bus properties for `interface_`.

since: 2.30

###### g_dbus_interface_skeleton_get_vtable

Gets 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`.

since: 2.30

###### g_dbus_interface_skeleton_has_connection

Checks if `interface_` is exported on `connection`.

since: 2.32

###### g_dbus_interface_skeleton_set_flags

Sets flags describing what the behavior of `skeleton` should be.

since: 2.30

###### g_dbus_interface_skeleton_unexport

Stops exporting `interface_` on all connections it is exported on.

since: 2.30

###### g_dbus_interface_skeleton_unexport_from_connection

Stops exporting `interface_` on `connection`.

since: 2.32

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

##### Methods inherited from GDBusInterface (4)

###### g_dbus_interface_dup_object

Gets the `GDBusObject` that `interface_` belongs to, if any.

since: 2.32

###### g_dbus_interface_get_info

Gets D-Bus introspection information for the D-Bus interface implemented by `interface_`.

since: 2.30

###### g_dbus_interface_get_object

Gets the `GDBusObject` that `interface_` belongs to, if any.

since: 2.30

###### g_dbus_interface_set_object

Sets the `GDBusObject` for `interface_` to `object`.

since: 2.30

#### Properties

###### Gio.DBusInterfaceSkeleton:g-flags

Flags from the `GDBusInterfaceSkeletonFlags` enumeration.

since: 2.30

#### Signals

###### Gio.DBusInterfaceSkeleton::g-authorize-method

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

since: 2.30

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct GioDBusInterfaceSkeletonClass {
      GObjectClass parent_class;
      GDBusInterfaceInfo* (* get_info) (
        GDBusInterfaceSkeleton* interface_
      );
      GDBusInterfaceVTable* (* get_vtable) (
        GDBusInterfaceSkeleton* interface_
      );
      GVariant* (* get_properties) (
        GDBusInterfaceSkeleton* interface_
      );
      void (* flush) (
        GDBusInterfaceSkeleton* interface_
      );
      gboolean (* g_authorize_method) (
        GDBusInterfaceSkeleton* interface_,
        GDBusMethodInvocation* invocation
      );

    }

Class structure for `GDBusInterfaceSkeleton`.

###### Class members

`parent_class: GObjectClass`

  The parent class.

`get_info: GDBusInterfaceInfo* (* get_info) ( GDBusInterfaceSkeleton* interface_ )`

  Returns a `GDBusInterfaceInfo`. See `g_dbus_interface_skeleton_get_info()` for details.

`get_vtable: GDBusInterfaceVTable* (* get_vtable) ( GDBusInterfaceSkeleton* interface_ )`

  Returns a `GDBusInterfaceVTable`. See `g_dbus_interface_skeleton_get_vtable()` for details.

`get_properties: GVariant* (* get_properties) ( GDBusInterfaceSkeleton* interface_ )`

  Returns a `GVariant` with all properties. See g_dbus_interface_skeleton_get_properties().

`flush: void (* flush) ( GDBusInterfaceSkeleton* interface_ )`

  Emits outstanding changes, if any. See g_dbus_interface_skeleton_flush().

`g_authorize_method: gboolean (* g_authorize_method) ( GDBusInterfaceSkeleton* interface_, GDBusMethodInvocation* invocation )`

  Signal class handler for the `GDBusInterfaceSkeleton::g-authorize-method` signal.

#### Virtual methods

###### Gio.DBusInterfaceSkeletonClass.flush

If `interface_` has outstanding changes, request for these changes to be emitted immediately.

since: 2.30

###### Gio.DBusInterfaceSkeletonClass.g_authorize_method

Signal class handler for the `GDBusInterfaceSkeleton::g-authorize-method` signal.

###### Gio.DBusInterfaceSkeletonClass.get_info

Gets D-Bus introspection information for the D-Bus interface implemented by `interface_`.

since: 2.30

###### Gio.DBusInterfaceSkeletonClass.get_properties

Gets all D-Bus properties for `interface_`.

since: 2.30

###### Gio.DBusInterfaceSkeletonClass.get_vtable

Gets 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`.

since: 2.30