It takes care of routing each message to the right recipients, multiplexing the flow of events on the top of each connection with the clients.
It manages the distribution of messages to the right people and combines various events on each connection with client interfaces.