Class: RBus::SessionBus

Inherits:
Bus show all
Includes:
Singleton
Defined in:
lib/rbus/bus/bus.rb

Overview

Represents the connection to the Session Bus.

Instance Attribute Summary

Attributes inherited from Bus

#message_loop, #names, #transport

Instance Method Summary collapse

Methods inherited from Bus

#get_object

Methods inherited from Proxy

#Introspect, #connect!, #interface!, #method!, #method_missing, #parse_arguments!, parse_introspect

Constructor Details

#initializeSessionBus

Returns a new instance of SessionBus.



87
88
89
# File 'lib/rbus/bus/bus.rb', line 87

def initialize
  super(ENV['DBUS_SESSION_BUS_ADDRESS'])
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RBus::Proxy