Class: Gio::DBusObjectSkeleton

Inherits:
Object
  • Object
show all
Defined in:
(unknown)

Overview

Class structure for GDBus::ObjectSkeleton.

Instance Method Summary collapse

Instance Method Details

#add_interface(interface_) ⇒ nil

Adds interface_ to object.

If object already contains a GDBus::InterfaceSkeleton with the same interface name, it is removed before interface_ is added.

Note that object takes its own reference on interface_ and holds it until removed.

Parameters:

Returns:

  • (nil)

#flushnil

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

Returns:

  • (nil)

#g_object_pathString

The object path where the object is exported.

Returns:

  • (String)

    g-object-path

#g_object_path=(g_object_path) ⇒ String

The object path where the object is exported.

Parameters:

  • g_object_path (String)

Returns:

  • (String)

    g-object-path

  • (String)

    g-object-path

#new(object_path) ⇒ Gio::DBusObjectSkeleton

Creates a new GDBus::ObjectSkeleton.

Parameters:

  • object_path (String)

    An object path.

Returns:

#object_path=(object_path) ⇒ nil

Sets the object path for object.

Parameters:

  • object_path (String)

    A valid D-Bus object path.

Returns:

  • (nil)

#remove_interface(interface_) ⇒ nil

Removes interface_ from object.

Parameters:

Returns:

  • (nil)

#remove_interface_by_name(interface_name) ⇒ nil

Removes the GDBus::Interface with interface_name from object.

If no D-Bus interface of the given interface exists, this function does nothing.

Parameters:

  • interface_name (String)

    A D-Bus interface name.

Returns:

  • (nil)