public class SyncMessage extends ControlMessage
Handles a sync command from the user. JDBC does not require this step, so server-side this is a noop.
Static Fields
IDENTIFIER
public static final char IDENTIFIER
Field Value | |
---|---|
Type | Description |
char |
Constructors
SyncMessage(ConnectionHandler connection)
public SyncMessage(ConnectionHandler connection)
Parameter | |
---|---|
Name | Description |
connection | ConnectionHandler |
SyncMessage(ConnectionHandler connection, ControlMessage.ManuallyCreatedToken manuallyCreatedToken)
public SyncMessage(ConnectionHandler connection, ControlMessage.ManuallyCreatedToken manuallyCreatedToken)
Parameters | |
---|---|
Name | Description |
connection | ConnectionHandler |
manuallyCreatedToken | ControlMessage.ManuallyCreatedToken |
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 |