Outline of networking components as document, first revision #166

Merged
lars.winzer merged 4 commits from docs/networking-documentation into main 2026-03-11 11:59:23 +01:00
Showing only changes of commit 32e4b04c87 - Show all commits
@@ -36,6 +36,9 @@ Once a client connects, it creates a `Session` adds it to the `SessionManager` a
### `Session` ### `Session`
Every client that connects has its own `Session` instance running on its own thread. This component owns the lifecycle of that connection: it reads incoming data, passes it along for processing, and writes responses back. Every client that connects has its own `Session` instance running on its own thread. This component owns the lifecycle of that connection: it reads incoming data, passes it along for processing, and writes responses back.
### `SessionId`
The `SessionId` is used to uniquely identify each session. Essentially its a wrapper arround the UUID type.
### `SessionManager` ### `SessionManager`
The `SessionManager` stores all currently active sessions. It allows for the retrieval of a specific session by its id. The `SessionManager` stores all currently active sessions. It allows for the retrieval of a specific session by its id.