module Protocol:sig
..end
The signature of protocol datas
type
kind =
| |
Point |
|||
| |
Time |
|||
| |
Value_int |
|||
| |
Value_float |
|||
| |
Value_bool |
|||
| |
Value_string |
|||
| |
Tag_count |
|||
| |
Tag_size |
|||
| |
Ktree |
|||
| |
Hash |
|||
| |
Special |
(* | for the garbage collector stats and total execution time | *) |
| |
Klog |
type
variant =
| |
Node of |
The type that will be observed in the module Tree.
type
value =
| |
Int of |
| |
Float of |
| |
String of |
| |
Bool of |
| |
Int64 of |
| |
Tree of |
| |
No_value |
| |
Collected |
| |
Killed |
| |
Hashtable of |
| |
Log of |
typetag =
int
A tag is an unique representation of a Ocamlviz data. The tags 0,1,2 are always taken.
type
msg =
| |
Declare of |
| |
Send of |
| |
Bind of |
There are 3 sorts of messages:
Declare
to send tags to new clientsSend
to send values to clientsBind
to send bindings to new clients