summaryrefslogtreecommitdiffstats
path: root/docs/rfc.txt
diff options
context:
space:
mode:
authorbt <bt@rctt.net>2026-03-29 22:11:02 +0200
committerbt <bt@rctt.net>2026-03-29 22:11:02 +0200
commit37190b05b522890388d22f55d11d456635e89559 (patch)
tree9b33fc543816884a0e89cc1af0bb92b563a7b543 /docs/rfc.txt
parentd464f63284fef47b71442d4c2bb93c699a6e4e44 (diff)
downloadsolec-37190b05b522890388d22f55d11d456635e89559.tar.gz
solec-37190b05b522890388d22f55d11d456635e89559.zip
[docs] Use sequence diagram for sequential operations description
Diffstat (limited to 'docs/rfc.txt')
-rw-r--r--docs/rfc.txt31
1 files changed, 22 insertions, 9 deletions
diff --git a/docs/rfc.txt b/docs/rfc.txt
index 02ad60a..1b2371a 100644
--- a/docs/rfc.txt
+++ b/docs/rfc.txt
@@ -273,12 +273,25 @@ Table of Contents
2.5.1. Connection initialisation
- * Client: Initialise TCP connection.
- * Client: Send _handshake_.
- * Server: If _major_ version of protocol differs close the
- connection.
- * Server: Otherwise send _handshake_.
- * Client: Send _auth_.
- * Server: If user credentials does not match send _error_ with
- _auth_failed_.
- * Server: Otherwise send _success_.
+ +--------+ +--------+
+ | Client | | Server |
+ +----+---+ +----+---+
+ | |
+ | Initialise TCP connection |
+ +--------------------------->|
+ | |
+ | Send [Handshake] |
+ +--------------------------->|
+ | |
+ | +- If [ver_major] does not match server
+ | | protocol version close the connection
+ | |
+ | Send [Auth] |
+ +--------------------------->|
+ | |
+ | Send [Error 0x01] |
+ |<---------------------------+- If [username] or [password] does not match
+ | | and close the connection
+ | |
+ | Send [Sucesss] |
+ |<---------------------------+