Upsycle_router.Message
include module type of Message
module Com : sig ... end
module Base : sig ... end
module Message_router : sig ... end
module Peer_advertisement : sig ... end
module Application : sig ... end
val mk_encoded_unicast_message :
ttl:int ->
exp:int ->
?via:Com.pubkey ->
(Upsycle_router__Commons.privkey * Com.pubkey) ->
Com.pubkey ->
string ->
string
val mk_unicast_message :
?test_tamper:bool ->
ttl:int ->
exp:int ->
?via:Com.pubkey ->
(Upsycle_router__Commons.privkey * Com.pubkey) ->
Com.pubkey ->
string ->
Base.t
val mk_encoded_multicast_message :
ttl:int ->
exp:int ->
seen:Com.seen ->
Upsycle_router__Commons.multicast_group_rw ->
string ->
string
val mk_multicast_message :
?test_tamper:bool ->
ttl:int ->
exp:int ->
?via:Com.pubkey ->
seen:Com.seen ->
Upsycle_router__Commons.multicast_group_rw ->
string ->
Base.t
val mk_encoded_mr_join_message :
ttl:int ->
exp:int ->
(Upsycle_router__Commons.privkey * Com.pubkey) ->
Com.pubkey ->
Com.pubkey ->
string
val mk_encoded_mr_join_ack_message :
ttl:int ->
exp:int ->
(Upsycle_router__Commons.privkey * Com.pubkey) ->
Com.pubkey ->
Com.result' ->
string
val mk_encoded_mr_leave_message :
ttl:int ->
exp:int ->
(Upsycle_router__Commons.privkey * Com.pubkey) ->
Com.pubkey ->
Com.pubkey ->
string
val mk_encoded_mr_leave_ack_message :
ttl:int ->
exp:int ->
(Upsycle_router__Commons.privkey * Com.pubkey) ->
Com.pubkey ->
Com.result' ->
string
val mk_encoded_mr_pull_message :
ttl:int ->
exp:int ->
(Upsycle_router__Commons.privkey * Com.pubkey) ->
Com.pubkey ->
Com.pubkey ->
Com.msg_id ->
string
val mk_encoded_peer_advertisement_message :
?test_tamper:bool ->
id:Com.pubkey ->
(Commons.ip * Commons.port * [< `Tcp ]) ->
(Com.pubkey option * Com.pubkey option) ->
grps:Commons.multicast_group_pubkey list ->
rev:int ->
ttl:int ->
exp:int ->
priv_key:Upsycle_router__Commons.privkey ->
string
val mk_encoded_app_ack_message :
ttl:int ->
exp:int ->
seen:Com.seen ->
deps:Com.msg_id list ->
from:Com.pubkey ->
to':Com.pubkey ->
seq:{U32}3.t ->
Upsycle_router__Commons.multicast_group_rw ->
string
val mk_encoded_app_unicast_message :
ttl:int ->
exp:int ->
seen:Com.seen ->
deps:Com.msg_id list ->
from:Com.pubkey ->
to':Com.pubkey ->
seq:{U32}3.t ->
Upsycle_router__Commons.multicast_group_rw ->
string ->
string
val mk_encoded_app_multicast_message :
ttl:int ->
exp:int ->
seen:Com.seen ->
deps:Com.msg_id list ->
from:Com.pubkey ->
to':Com.pubkey ->
seq:{U32}3.t ->
Upsycle_router__Commons.multicast_group_rw ->
string ->
string
val mk_encoded_app_member_add_message :
ttl:int ->
exp:int ->
seen:Com.seen ->
deps:Com.msg_id list ->
from:Com.pubkey ->
to':Com.pubkey ->
seq:{U32}3.t ->
Upsycle_router__Commons.multicast_group_rw ->
Com.pubkey list ->
string
val mk_encoded_app_member_remove_message :
ttl:int ->
exp:int ->
seen:Com.seen ->
deps:Com.msg_id list ->
from:Com.pubkey ->
to':Com.pubkey ->
seq:{U32}3.t ->
Upsycle_router__Commons.multicast_group_rw ->
Com.pubkey list ->
string