class XenStore::Connection::UnixSocketConnection

A PacketConnection implementation which communicates with XenStored over a UNIX socket.

Public Class Methods

new(path = nil) click to toggle source
# 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