Class DBus::Main
In: lib/dbus/bus.rb
Parent: Object

Main event loop class.

Class that takes care of handling message and signal events asynchronously. *Note:* This is a native implement and therefore does not integrate with a graphical widget set main loop.

Methods

<<   new   quit   run  

Public Class methods

Create a new main event loop.

Public Instance methods

Add a bus to the list of buses to watch for events.

Quit a running main loop, to be used eg. from a signal handler

Run the main loop. This is a blocking call!

[Validate]