Interface MessageProcessor<M extends AbstractMessage>

  • Type Parameters:
    M - the message type

    public interface MessageProcessor<M extends AbstractMessage>
    Interface for message processors. A message processor is called on the client or the server to process an incoming message, thus it is linked to a specific message type.
    Author:
    Rene Schneider - initial API and implementation
    • Method Detail

      • processMessage

        void processMessage​(M aMessage,
                            Endpoint anEndpoint)
        Process the message.
        Parameters:
        aMessage - the message to process
        anEndpoint - the endpoint which received the message