Class: DBus::PeerConnection
- Inherits:
-
Connection
- Object
- Connection
- DBus::PeerConnection
- Defined in:
- lib/dbus/connection.rb
Overview
A Connection that is talking directly to a peer, with no bus daemon in between. A prominent example is the PulseAudio connection, see www.freedesktop.org/wiki/Software/PulseAudio/Documentation/Developer/Clients/DBus/ When starting, it still starts with authentication but omits the Hello message.
Constant Summary
Constants inherited from Connection
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
-
#peer_service ⇒ ProxyPeerService
Get a ProxyPeerService, a dummy helper to get ProxyObjects for a PeerConnection.
Methods inherited from Connection
#add_match, #dispatch_message_queue, #emit, #glibize, #handle_return_of_request_name, #initialize, #introspect, #introspect_data, #object_server, #on_return, #process, #remove_match, #request_service, #send_sync, #send_sync_or_async, #wait_for_message
Constructor Details
This class inherits a constructor from DBus::Connection
Instance Method Details
#peer_service ⇒ ProxyPeerService
Get a DBus::ProxyPeerService, a dummy helper to get DBus::ProxyObjects for a DBus::PeerConnection.
359 360 361 |
# File 'lib/dbus/connection.rb', line 359 def peer_service ProxyPeerService.new(self) end |