start recv

This commit is contained in:
Green Sky 2022-10-14 22:06:49 +02:00
parent dbfdc942d7
commit bf0433a348
No known key found for this signature in database
2 changed files with 33 additions and 0 deletions

29
ft_recv.dot Normal file
View File

@ -0,0 +1,29 @@
digraph ft_send {
fontname="Helvetica,Arial,sans-serif"
node [fontname="Helvetica,Arial,sans-serif"]
edge [fontname="Helvetica,Arial,sans-serif"]
label="FT1_Receiver";
labelloc="t";
start [label="start | we got FT_INIT"];
fail [shape=doublecircle];
done [shape=doublecircle];
// peer offline (how)
start -> fail [label="peer offline"]
start -> starting [label="send FT_INIT_ACK"];
starting -> starting [label="if timeout or get FT_INIT send FT_INIT_ACK"];
starting -> fail [label="if timeout too often"];
subgraph cluster_data {
label="for each data chunk";
style=filled;
starting -> got_data [label="got FT_DATA"];
}
}

View File

@ -3,6 +3,9 @@ digraph ft_send {
node [fontname="Helvetica,Arial,sans-serif"] node [fontname="Helvetica,Arial,sans-serif"]
edge [fontname="Helvetica,Arial,sans-serif"] edge [fontname="Helvetica,Arial,sans-serif"]
label="FT1_Sender";
labelloc="t";
//layout=fdp //layout=fdp
//rankdir = LR //rankdir = LR
@ -13,6 +16,7 @@ digraph ft_send {
// peer offline (how) // peer offline (how)
start -> fail [label="peer offline"] start -> fail [label="peer offline"]
// TODO: move to single node with loop
subgraph cluster_init { subgraph cluster_init {
label="Send Init"; label="Send Init";