Class DBus::Object
In: lib/dbus/export.rb
Parent: Object

Exported object type

Exportable D-Bus object class

Objects that are going to be exported by a D-Bus service should inherit from this class. At the client side, use ProxyObject.

Methods

Classes and Modules

Class DBus::Object::UndefinedInterface

Attributes

path  [R]  The path of the object.
service  [W]  The service that the object is exported by.

Public Class methods

Select (and create) the interface that the following defined methods belong to.

Defines an exportable method on the object with the given name sym, prototype and the code in a block.

Defines a signal for the object with a given name sym and prototype.

Create a new object with a given path. Use Service#export to export it.

Public Instance methods

Dispatch a message msg to call exported methods

Emits a signal from the object with the given interface, signal sig and arguments args.

State that the object implements the given intf.

[Validate]