Class: Gio::DBusObjectSkeleton
- Inherits:
-
Object
- Object
- Gio::DBusObjectSkeleton
- Defined in:
- (unknown)
Overview
Class structure for GDBus::ObjectSkeleton.
Instance Method Summary collapse
-
#add_interface(interface_) ⇒ nil
Adds interface_ to object.
-
#flush ⇒ nil
This method simply calls g_dbus_interface_skeleton_flush() on all interfaces belonging to object.
-
#g_object_path ⇒ String
The object path where the object is exported.
-
#g_object_path=(g_object_path) ⇒ String
The object path where the object is exported.
-
#new(object_path) ⇒ Gio::DBusObjectSkeleton
Creates a new GDBus::ObjectSkeleton.
-
#object_path=(object_path) ⇒ nil
Sets the object path for object.
-
#remove_interface(interface_) ⇒ nil
Removes interface_ from object.
-
#remove_interface_by_name(interface_name) ⇒ nil
Removes the GDBus::Interface with interface_name from object.
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.
#flush ⇒ nil
This method simply calls g_dbus_interface_skeleton_flush() on all interfaces belonging to object. See that method for when flushing is useful.
#g_object_path ⇒ String
The object path where the object is exported.
#g_object_path=(g_object_path) ⇒ String
The object path where the object is exported.
#new(object_path) ⇒ Gio::DBusObjectSkeleton
Creates a new GDBus::ObjectSkeleton.
#object_path=(object_path) ⇒ nil
Sets the object path for object.
#remove_interface(interface_) ⇒ nil
Removes interface_ from object.
#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.