Adds a listener to this channel.
If the listener is a {@link MessageListener}, it will be invoked if a message arrives to this channel.
Adding a listener never involves communication with the server, differently from {@link #subscribe(MessageListener)}.
Listeners are best suited to receive messages from {@link #isMeta() meta channels}.
@param listener the listener to add @see #removeListener(ClientSessionChannelListener)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|