Package org.cometd.bayeux.client
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 aClientSessionChannel
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onMessage(ClientSessionChannel channel, Message message)
Callback invoked when a message is received on the givenchannel
.
-
-
-
Method Detail
-
onMessage
void onMessage(ClientSessionChannel channel, Message message)
Callback invoked when a message is received on the givenchannel
.- Parameters:
channel
- the channel that received the messagemessage
- the message received
-
-