package xenstore

  1. Overview
  2. Docs
Xenstore protocol in pure OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

xenstore-2.3.0.tbz
sha256=d63c6bbcb2d3c297767d83c0a0f6dd46cecfd4e691f1cf5c5b6554445ec1b3f4
sha512=5cea990ab16ef708e53605172f708dde6ed15981cca6890939274db6efde1e5b2f9ec5c659d4d2f4115c5e0c3b69bcacc798a0d7fd5c1b75b83ddccd699de189

doc/xenstore.server/Xenstore_server/Xs_server/Server/argument-1-T/index.html

Parameter Server.T

type 'a t = 'a Lwt.t
val return : 'a -> 'a Lwt.t
val (>>=) : 'a t -> ('a -> 'b Lwt.t) -> 'b Lwt.t
type server
val listen : unit -> server Lwt.t
type channel
val read : channel -> bytes -> int -> int -> int Lwt.t
val write : channel -> bytes -> int -> int -> unit Lwt.t
val destroy : channel -> unit Lwt.t
val address_of : channel -> Xs_protocol.address Lwt.t
val namespace_of : channel -> (module Namespace.IO) option
val accept_forever : server -> (channel -> unit Lwt.t) -> 'a Lwt.t
OCaml

Innovation. Community. Security.