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 Type Method Description
    void onMessage​(ClientSessionChannel channel, Message message)
    Callback invoked when a message is received on the given channel.
  • Method Details

    • onMessage

      void onMessage​(ClientSessionChannel channel, Message message)
      Callback invoked when a message is received on the given channel.
      Parameters:
      channel - the channel that received the message
      message - the message received