start recv
This commit is contained in:
parent
dbfdc942d7
commit
bf0433a348
29
ft_recv.dot
Normal file
29
ft_recv.dot
Normal 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"];
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -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";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user