diff --git a/docs/server-statemachine.dot b/docs/server-statemachine.dot deleted file mode 100644 index d3a2215..0000000 --- a/docs/server-statemachine.dot +++ /dev/null @@ -1,22 +0,0 @@ -/** -. thinking about state-machine from "hand-drawn" perspective -. will it look the same as an Automat one? -**/ - -digraph { - listening -> wait_relay [label="connection_made"] - - wait_relay -> wait_partner [label="please_relay\nFindPartner"] - wait_relay -> wait_partner [label="please_relay_for_side\nFindPartner"] - wait_relay -> done [label="invalid_token\nSend('bad handshake')\nDisconnect"] - wait_relay -> done [label="connection_lost"] - - wait_partner -> relaying [label="got_partner\nConnectPartner(partner)\nSend('ok')"] - wait_partner -> done [label="got_bytes\nDisconnect"] - wait_partner -> done [label="connection_lost"] - - relaying -> relaying [label="got_bytes\nSend(bytes)"] - relaying -> done [label="partner_connection_lost\nDisconnectMe"] - relaying -> done [label="connection_lost\nDisconnectPartner"] -} -