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 Summary

    Modifier and Type
    Method
    Description
    void
    processMessage(M aMessage, Endpoint anEndpoint)
    Process the message.
  • Method Details

    • processMessage

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