public static interface Server.Protocol<S extends Server>
| Modifier and Type | Method and Description |
|---|---|
void |
clientCommunicationStopped()
Notification that the client has stopped all communications.
|
void |
connectionAccepted()
Notification that the connection was accepted by the client.
|
boolean |
continueConnection() |
void |
initialize(S server)
Gives your protocol a chance to store this server so it can access its functions.
|
void |
messageReceived(MessageObject message)
Notification that a message has been received.
|
void |
readFailureOccurred()
Notification that a read failure occurred.
|
void initialize(S server)
void connectionAccepted()
boolean continueConnection()
void messageReceived(MessageObject message)
message - the message that was received.void clientCommunicationStopped()
void readFailureOccurred()
Copyright © 2013. All rights reserved