Module Join.Ns

module Ns: sig .. end


Dynamic, unsafe, value repository.

Every site offers a name service. The name service provides a mapping from strings to values.

type t 
Abstract type for the name service.
val here : t
The local name service.
val of_site : Join.Site.t -> t
Get remote name service by site identity.
val to_site : t -> Join.Site.t
Converse operation
val there : Unix.sockaddr -> t
Get remote name service by socket address. Basically, there addr is of_site (Site.there addr).
val of_sockaddr : Unix.sockaddr -> t
Synonym for there
val lookup : t -> string -> 'a
Find value, raise Not_found when not present, or Join.Exit if attemping to lookup on a failed remote name service.
val register : t -> string -> 'a -> unit
Register binding, returns when done. Raise Join.Exit if attempting to register on a failed remote name service.