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 instanciates and configures this class for us.

It also is the local definition of interface exported by the program.

Methods

<<   define   define_method   new   validate_name  

Attributes

methods  [R]  The methods that are part of the interface.
name  [R]  The name of the interface.
signals  [R]  The signals that are part of the interface.

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]