Class: DBus::PeerConnection

Inherits:
Connection show all
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

#message_queue

Instance Method Summary collapse

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_serviceProxyPeerService

Get a DBus::ProxyPeerService, a dummy helper to get DBus::ProxyObjects for a DBus::PeerConnection.

Returns:



359
360
361
# File 'lib/dbus/connection.rb', line 359

def peer_service
  ProxyPeerService.new(self)
end