public class TerminateMessage extends ControlMessage
Closes a connection.
Static Fields
IDENTIFIER
protected static final char IDENTIFIER
Type | Description |
char |
Constructors
TerminateMessage(ConnectionHandler connection)
public TerminateMessage(ConnectionHandler connection)
Name | Description |
connection | ConnectionHandler |
Methods
getIdentifier()
protected String getIdentifier()
Used for logging.
Type | Description |
String |
getMessageName()
protected String getMessageName()
Used for logging.
Type | Description |
String |
getPayloadString()
protected String getPayloadString()
Used for logging.
Type | Description |
String |
sendPayload()
protected void sendPayload()
Override this method to include post-processing and metadata in the sending process. Template method for send.
Type | Description |
Exception |