Reference

# Module `dbus`

awesome D-Bus API

Author:

Julien Danjou <julien@danjou.info>

Copyright© 2008-2009 Julien Danjou

## Functions

add_match (bus, name) | Add a match rule to match messages going through the message bus.
add_signal (interface, func) | Add a signal receiver on the D-Bus.
release_name (bus, name) | Release a D-Bus name.
remove_match (bus, name) | Remove a previously added match rule "by value" (the most recently-added identical rule gets removed).
remove_signal (interface, func) | Remove a signal receiver on the D-Bus.
request_name (bus, name) | Register a D-Bus name to receive message from.

## Functions

add_match (bus, name)
  Add a match rule to match messages going through the message bus.

  ### Parameters

  - bus: A string indicating if we are using system or session bus.
  - name: A string with the name of the match rule.
add_signal (interface, func)
  Add a signal receiver on the D-Bus.

  ### Parameters

  - interface: A string with the interface name.
  - func: The function to call.
release_name (bus, name)
  Release a D-Bus name.

  ### Parameters

  - bus: A string indicating if we are using system or session bus.
  - name: A string with the name of the D-Bus name to unregister.

  ### Return value:

  True if everything worked fine, false otherwise.
remove_match (bus, name)
  Remove a previously added match rule "by value" (the most recently-added identical rule gets removed).

  ### Parameters

  - bus: A string indicating if we are using system or session bus.
  - name: A string with the name of the match rule.
remove_signal (interface, func)
  Remove a signal receiver on the D-Bus.

  ### Parameters

  - interface: A string with the interface name.
  - func: The function to call.
request_name (bus, name)
  Register a D-Bus name to receive message from.

  ### Parameters

  - bus: A string indicating if we are using system or session bus.
  - name: A string with the name of the D-Bus name to register.

  ### Return value:

  True if everything worked fine, false otherwise.