Class DBus::RemoteBus
In: lib/dbus/bus.rb
Parent: Connection

D-Bus remote (TCP) bus class

This class may be used when connecting to remote (listening on a TCP socket) busses. You can also use it to connect to other non-standard path busses.

The specified socket_name should look like this: (for TCP) tcp:host=127.0.0.1,port=2687 (for Unix-socket) unix:path=/tmp/my_funky_bus_socket

you‘ll need to take care about authentification then, more info here: github.com/pangdudu/ruby-dbus/blob/master/README.rdoc

Methods

new  

Public Class methods

Get the remote bus.

[Source]

# File lib/dbus/bus.rb, line 776
    def initialize socket_name
      super(socket_name)
      connect
      send_hello
    end

[Validate]