@FunctionalInterface public interface MessageHandler<M extends Message>
| Modifier and Type | Method and Description | 
|---|---|
| void | handleMessage(M message,
             RemoteConnection connection,
             Platform.Type side)Handles the message sent by a remote connection. | 
void handleMessage(M message, RemoteConnection connection, Platform.Type side)
message - The message receivedconnection - The connection that sent the messageside - The side the message was received on (
        Platform.Type.CLIENT
        or Platform.Type.SERVER)