public class KillGradleServerProtocol extends Object implements Server.Protocol<Server>
| Constructor and Description |
|---|
KillGradleServerProtocol() |
| 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(Server 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.
|
public void initialize(Server server)
Server.Protocolinitialize in interface Server.Protocol<Server>public void connectionAccepted()
Server.ProtocolconnectionAccepted in interface Server.Protocol<Server>public boolean continueConnection()
continueConnection in interface Server.Protocol<Server>public void messageReceived(MessageObject message)
Server.ProtocolmessageReceived in interface Server.Protocol<Server>message - the message that was received.public void clientCommunicationStopped()
Server.ProtocolclientCommunicationStopped in interface Server.Protocol<Server>public void readFailureOccurred()
Server.ProtocolreadFailureOccurred in interface Server.Protocol<Server>Copyright © 2013. All rights reserved