Class: XenStore::Connection::UnixSocketConnection
- Inherits:
-
PacketConnection
- Object
- PacketConnection
- XenStore::Connection::UnixSocketConnection
- Defined in:
- lib/xsrb/connection.rb
Overview
A PacketConnection implementation which communicates with XenStored over a UNIX socket.
Instance Method Summary collapse
-
#initialize(path = nil) ⇒ UnixSocketConnection
constructor
A new instance of UnixSocketConnection.
Methods inherited from PacketConnection
Constructor Details
#initialize(path = nil) ⇒ UnixSocketConnection
43 44 45 46 47 |
# File 'lib/xsrb/connection.rb', line 43 def initialize(path = nil) @path = path || XenStore::Utils.unix_socket_path transport = XenStore::Transport::UnixSocketTransport.new @path super(transport) end |