Class: XenStore::Connection::XenBusConnection

Inherits:
PacketConnection show all
Defined in:
lib/xsrb/connection.rb

Overview

A PacketConnection implementation

Instance Method Summary collapse

Methods inherited from PacketConnection

#recv, #send

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