2017-02-15 20:11:17 +00:00
|
|
|
digraph {
|
2017-02-16 01:46:28 +00:00
|
|
|
App [shape="box" color="blue" fontcolor="blue"]
|
2017-02-16 00:11:26 +00:00
|
|
|
Wormhole [shape="box" label="Wormhole\n(manager)"
|
|
|
|
color="blue" fontcolor="blue"]
|
|
|
|
Mailbox [shape="box" color="blue" fontcolor="blue"]
|
2017-02-16 01:46:28 +00:00
|
|
|
Connection [label="Rendezvous\nConnector"
|
2017-02-22 01:56:32 +00:00
|
|
|
shape="box" color="blue" fontcolor="blue"]
|
|
|
|
websocket [color="blue" fontcolor="blue"]
|
|
|
|
Order [shape="box" label="Ordering" color="blue" fontcolor="blue"]
|
|
|
|
Key [shape="box" label="Key" color="blue" fontcolor="blue"]
|
|
|
|
Send [shape="box" label="Send" color="blue" fontcolor="blue"]
|
|
|
|
Receive [shape="box" label="Receive" color="blue" fontcolor="blue"]
|
2017-02-19 19:26:11 +00:00
|
|
|
Code [shape="box" label="Code" color="blue" fontcolor="blue"]
|
2017-02-16 00:11:26 +00:00
|
|
|
Nameplates [shape="box" label="Nameplate\nLister"
|
2017-02-16 01:46:28 +00:00
|
|
|
color="blue" fontcolor="blue"
|
|
|
|
]
|
2017-02-16 00:11:26 +00:00
|
|
|
|
|
|
|
Connection -> websocket [color="blue"]
|
2017-02-22 01:56:32 +00:00
|
|
|
#Connection -> Order [color="blue"]
|
2017-02-16 00:11:26 +00:00
|
|
|
|
2017-02-16 01:46:28 +00:00
|
|
|
App -> Wormhole [style="dashed" label="set_code\nsend\nclose\n(once)"]
|
2017-02-22 01:56:32 +00:00
|
|
|
#App -> Wormhole [color="blue"]
|
2017-02-16 01:46:28 +00:00
|
|
|
Wormhole -> App [style="dashed" label="got_verifier\nreceived\nclosed\n(once)"]
|
|
|
|
|
2017-02-22 01:56:32 +00:00
|
|
|
#Wormhole -> Connection [color="blue"]
|
|
|
|
|
|
|
|
Wormhole -> Send [style="dashed" label="send"]
|
2017-02-16 01:46:28 +00:00
|
|
|
|
2017-02-15 20:11:17 +00:00
|
|
|
Wormhole -> Mailbox [style="dashed"
|
2017-02-22 01:56:32 +00:00
|
|
|
label="set_nameplate\nclose\n(once)"
|
2017-02-15 20:11:17 +00:00
|
|
|
]
|
2017-02-22 01:56:32 +00:00
|
|
|
#Wormhole -> Mailbox [color="blue"]
|
|
|
|
Mailbox -> Wormhole [style="dashed" label="closed\n(once)"]
|
|
|
|
Mailbox -> Order [style="dashed" label="got_message (once)"]
|
|
|
|
Wormhole -> Key [style="dashed" label="set_code"]
|
|
|
|
Key -> Wormhole [style="dashed" label="got_verifier\nscared"]
|
|
|
|
Order -> Key [style="dashed" label="got_pake"]
|
|
|
|
Order -> Receive [style="dashed" label="got_message"]
|
|
|
|
#Wormhole -> Key [color="blue"]
|
|
|
|
Key -> Mailbox [style="dashed" label="add_message (pake)\nadd_message (version)"]
|
|
|
|
Receive -> Send [style="dashed" label="got_verified_key"]
|
|
|
|
Send -> Mailbox [style="dashed" label="add_message (phase)"]
|
|
|
|
|
|
|
|
Key -> Receive [style="dashed" label="got_key"]
|
|
|
|
Receive -> Wormhole [style="dashed"
|
|
|
|
label="happy\nscared\ngot_message"]
|
2017-02-16 01:46:28 +00:00
|
|
|
|
2017-02-15 20:11:17 +00:00
|
|
|
Mailbox -> Connection [style="dashed"
|
2017-02-16 00:11:26 +00:00
|
|
|
label="tx_claim\ntx_open\ntx_add\ntx_release\ntx_close\nstop"
|
2017-02-15 20:11:17 +00:00
|
|
|
]
|
|
|
|
Connection -> Mailbox [style="dashed"
|
2017-02-16 00:11:26 +00:00
|
|
|
label="connected\nlost\nrx_claimed\nrx_message\nrx_released\nrx_closed\nstopped"]
|
2017-02-15 20:11:17 +00:00
|
|
|
|
|
|
|
Connection -> Nameplates [style="dashed"
|
2017-02-16 00:11:26 +00:00
|
|
|
label="connected\nlost\nrx_nameplates"
|
2017-02-15 20:11:17 +00:00
|
|
|
]
|
|
|
|
Nameplates -> Connection [style="dashed"
|
2017-02-16 00:11:26 +00:00
|
|
|
label="tx_list"
|
2017-02-15 20:11:17 +00:00
|
|
|
]
|
|
|
|
|
2017-02-22 01:56:32 +00:00
|
|
|
#Wormhole -> Code [color="blue"]
|
2017-02-19 19:26:11 +00:00
|
|
|
Code -> Connection [style="dashed"
|
|
|
|
label="tx_allocate"
|
|
|
|
]
|
|
|
|
Connection -> Code [style="dashed"
|
|
|
|
label="rx_allocated"]
|
|
|
|
Nameplates -> Code [style="dashed"
|
|
|
|
label="got_nameplates"
|
|
|
|
]
|
2017-02-22 01:56:32 +00:00
|
|
|
#Code -> Nameplates [color="blue"]
|
2017-02-19 19:26:11 +00:00
|
|
|
Code -> Nameplates [style="dashed"
|
|
|
|
label="refresh_nameplates"
|
|
|
|
]
|
2017-02-22 01:56:32 +00:00
|
|
|
Code -> Wormhole [style="dashed"
|
|
|
|
label="set_code"]
|
2017-02-19 19:26:11 +00:00
|
|
|
|
|
|
|
|
2017-02-15 20:11:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
}
|