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 TypeMethodDescriptionvoidprocessMessage(M aMessage, Endpoint anEndpoint) Process the message.
-
Method Details
-
processMessage
Process the message.- Parameters:
aMessage- the message to processanEndpoint- the endpoint which received the message
-