Skip to content

Latest commit

 

History

History
39 lines (21 loc) · 613 Bytes

design.markdown

File metadata and controls

39 lines (21 loc) · 613 Bytes

Design

This documents highlights the design of xmpp-server

Client <- Socket (TCP or else) -> Connection -> Session -> Session Manager -> Router

Connection

All the low level stuff. [what?]

Session

Represents a connection + jid (including ressource)

Session Manager

All the session for a given user

Router

All the users + Outside world (S2S).

Flow

                        Connection     Session          Session Manager             Router              
  1. Authentication ...

  2. User sends message to another local user ...

  3. User sends message to non-local user ...

...