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

D-Bus interface class

This class is the interface descriptor. In most cases, the Introspect() method call instantiates and configures this class for us.

It also is the local definition of interface exported by the program. At the client side, see ProxyObjectInterface

Methods

<<   define   define_method   new   validate_name  

Attributes

methods  [R]  The methods that are part of the interface. Hash: Symbol => DBus::Method
name  [R]  The name of the interface. String
signals  [R]  The signals that are part of the interface. Hash: Symbol => Signal

Public Class methods

Creates a new interface with a given name.

Public Instance methods

<<(m)

Alias for define

Helper method for defining a method m.

Defines a method with name id and a given prototype in the interface.

Validates a service name.

[Validate]