Concept Flow - SUBSCRIBE to channels
Client sends SUBSCRIBE command
Server registers client to channel(s)
Server waits for messages on channel(s)
Message published to channel
Server sends message to subscribed client
Client receives message
Repeat for new messages or client unsubscribes
The client sends a SUBSCRIBE command to the server, which registers the client to listen to specified channels. When messages are published to those channels, the server forwards them to the client.