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 |
| |
Klog |
type variant =
The type that will be observed in the module Tree.
type value =
| |
Int of int |
| |
Float of float |
| |
String of string |
| |
Bool of bool |
| |
Int64 of Int64.t |
| |
Tree of variant |
| |
No_value |
| |
Collected |
| |
Killed |
| |
Hashtable of value * value * value * value |
| |
Log of (float * string) list |
type tag = int
A tag is an unique representation of a Ocamlviz data. The tags 0,1,2 are always taken.
type msg =
There are 3 sorts of messages:
Declare to send tags to new clients
Send to send values to clients
Bind to send bindings to new clients