This is a Ruby binding for XenStore. All of the functionality is implemented in
the XenStore::XenStore class. The constructor takes an argment specifying the
connection type.
Supported connection types:
XenStore::XS_DOM0 Dom0
XenStore::XS_DOM0_RO Dom0 read-only
XenStore::XS_DOMU DomU
Supported methods:
(these are basically equivalent to the corresponding C functions, except
that explicit string lengths aren't used)
directory
read
write
mkdir
rm
watch
unwatch
read_watch (returns a [path, token] array)
(these are not quite direct equivalents)
get_watch_file (equivalent to xs_fileno; returns an IO object that can be
watched by an event loop; this object should not be read or
written)