Skip to main contentModule connection_engine
Source - ClientSession ๐
- Represents an authenticated user session within the server.
- NEXT_CONNECTION_ID ๐
- Thread-safe atomic counter used to generate unique
ConnectionIDs for incoming clients. - SERVER_STATE ๐
- The central, globally accessible repository of all authenticated client sessions.
Maps a unique [
SessionID] to its corresponding ClientSession.
- announce_shutdown
- Broadcasts a graceful shutdown announcement to all currently connected clients.
- ConnectionID ๐
- Unique identifier for an active physical TCP connection.