Class: DBus::ProxyPeerService
- Inherits:
-
ProxyService
- Object
- NodeTree
- ProxyService
- DBus::ProxyPeerService
- Defined in:
- lib/dbus/proxy_service.rb
Overview
A hack for pretending that a PeerConnection has a single unnamed ProxyService so that we can get ProxyObjects from it.
Instance Attribute Summary
Attributes inherited from ProxyService
Attributes inherited from NodeTree
Instance Method Summary collapse
-
#initialize(connection) ⇒ ProxyPeerService
constructor
A new instance of ProxyPeerService.
Methods inherited from ProxyService
#[], #exists?, #introspect, #object
Methods inherited from NodeTree
Constructor Details
#initialize(connection) ⇒ ProxyPeerService
Returns a new instance of ProxyPeerService.
101 102 103 104 105 |
# File 'lib/dbus/proxy_service.rb', line 101 def initialize(connection) # this way we disallow ProxyService taking a nil name by accident super(":0.0", connection) @name = nil end |