Interface MessageListener

  • All Known Implementing Classes:
    ChannelCoordinator, McastService

    public interface MessageListener
    The listener to be registered with the ChannelReceiver, internal Tribes component.
    • Method Detail

      • messageReceived

        void messageReceived​(ChannelMessage msg)
        Receive a message from the IO components in the Channel stack
        Parameters:
        msg - the message
      • accept

        boolean accept​(ChannelMessage msg)
        Allows skipping processing of the specified message.
        Parameters:
        msg - the message
        Returns:
        true if the message will be processed