class DBus::ProxyPeerService

A hack for pretending that a {PeerConnection} has a single unnamed {ProxyService} so that we can get {ProxyObject}s from it.

Public Class Methods

new(connection) click to toggle source

@param connection [Connection] The peer connection we’re using.

Calls superclass method DBus::ProxyService::new
# 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