Class: DBus::ASystemBus
- Inherits:
-
Connection
- Object
- Connection
- DBus::ASystemBus
- Defined in:
- lib/dbus/bus.rb
Overview
D-Bus system bus class
The system bus is a system-wide bus mostly used for global or system usages.
Use SystemBus, the non-singleton ASystemBus is for the test suite.
Direct Known Subclasses
Constant Summary
Constants inherited from Connection
Connection::DBUSXMLINTRO, Connection::NAME_FLAG_ALLOW_REPLACEMENT, Connection::NAME_FLAG_DO_NOT_QUEUE, Connection::NAME_FLAG_REPLACE_EXISTING, Connection::REQUEST_NAME_REPLY_ALREADY_OWNER, Connection::REQUEST_NAME_REPLY_EXISTS, Connection::REQUEST_NAME_REPLY_IN_QUEUE, Connection::REQUEST_NAME_REPLY_PRIMARY_OWNER
Instance Attribute Summary
Attributes inherited from Connection
Instance Method Summary collapse
-
#initialize ⇒ ASystemBus
constructor
Get the default system bus.
Methods inherited from Connection
#add_match, #dispatch_message_queue, #emit, #glibize, #introspect, #introspect_data, #on_return, #process, #proxy, #remove_match, #request_service, #send_sync, #send_sync_or_async, #service, #wait_for_message
Constructor Details
#initialize ⇒ ASystemBus
Get the default system bus.
702 703 704 705 |
# File 'lib/dbus/bus.rb', line 702 def initialize super(SYSTEM_BUS_ADDRESS) send_hello end |