Class: XenStore::Connection::XenBusConnection
- Inherits:
-
PacketConnection
- Object
- PacketConnection
- XenStore::Connection::XenBusConnection
- Defined in:
- lib/xsrb/connection.rb
Overview
A PacketConnection implementation
Instance Method Summary collapse
-
#initialize(path = nil) ⇒ XenBusConnection
constructor
A new instance of XenBusConnection.
Methods inherited from PacketConnection
Constructor Details
#initialize(path = nil) ⇒ XenBusConnection
Returns a new instance of XenBusConnection.
52 53 54 55 56 |
# File 'lib/xsrb/connection.rb', line 52 def initialize(path = nil) @path = path || XenStore::Utils.xenbus_path transport = XenStore::Transport::XenBusTransport.new @path super(transport) end |