This documents highlights the design of xmpp-server
Client <- Socket (TCP or else) -> Connection -> Session -> Session Manager -> Router
All the low level stuff. [what?]
Represents a connection + jid (including ressource)
All the session for a given user
All the users + Outside world (S2S).
Connection Session Session Manager Router
-
Authentication ...
-
User sends message to another local user ...
-
User sends message to non-local user ...
...