Interface ClientSessionChannel.MessageListener
- All Superinterfaces:
Bayeux.BayeuxListener
,ClientSessionChannel.ClientSessionChannelListener
,EventListener
- Enclosing interface:
ClientSessionChannel
public static interface ClientSessionChannel.MessageListener
extends ClientSessionChannel.ClientSessionChannelListener
A listener for messages on a
ClientSessionChannel
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
onMessage
(ClientSessionChannel channel, Message message) Callback invoked when a message is received on the givenchannel
.
-
Method Details
-
onMessage
Callback invoked when a message is received on the givenchannel
.- Parameters:
channel
- the channel that received the messagemessage
- the message received
-