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