Class: DBus::SessionBus

Inherits:
Bus
  • Object
show all
Defined in:
lib/dbus.rb

Overview

The session (current login) message bus

Constant Summary

Constants inherited from Bus

Bus::TYPE_ACTIVATION, Bus::TYPE_SESSION, Bus::TYPE_SYSTEM

Instance Method Summary collapse

Methods inherited from Bus

#activate_service, #add_signal_receiver, #build_signal_rule, #get_base_service, #get_connection, #get_service, #get_unix_user, #remove_signal_receiver, #set_base_service

Constructor Details

#initialize(glib_mainloop = true) ⇒ SessionBus

Returns a new instance of SessionBus.



135
136
137
# File 'lib/dbus.rb', line 135

def initialize(glib_mainloop=true)
  super(Bus::TYPE_SESSION, glib_mainloop)
end