Class DBus::ProxyObject
In: lib/dbus/introspect.rb
Parent: Object

D-Bus proxy object class

Class representing a remote object in an external application. Typically, calling a method on an instance of a ProxyObject sends a message over the bus so that the method is executed remotely on the correctponding object.

Methods

[]   []=   has_iface?   interfaces   introspect   new   on_signal  

Attributes

bus  [R]  The bus the object is reachable via.
default_iface  [RW]  The default interface of the object.
destination  [R]  The (remote) destination of the object.
introspected  [RW]  Flag determining whether the object has been introspected.
path  [R]  The path to the object.
subnodes  [RW]  The subnodes of the object in the tree.

Public Class methods

Creates a new proxy object living on the given bus at destination dest on the given path.

Public Instance methods

Retrieves an interface of the proxy object (ProxyObjectInterface instance).

Maps the given interface name intfname to the given interface _intf.

Returns whether the object has an interface with the given name.

Returns the interfaces of the object.

Introspects the remote object. Allows you to find and select interfaces on the object.

Registers a handler, the code block, for a signal with the given name.

[Validate]