Class MessageSubscriber

java.lang.Object
eu.ill.webx.transport.MessageSubscriber

public class MessageSubscriber extends Object
The message subscriber connects to the ZMQ message publisher of the WebX Router (or Engine if in standalone) and forwards them immediately to a handler (managed in the WebXHost). The host handler filters the messages by the sessionId (first 16 bytes). The session then filters the message by the client index mask to determine exactly which clients require the message. The client queues the message awaiting for it to be read by a client application.