Class SyncMessage (0.15.0)

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.

Inheritance

java.lang.Object > WireMessage > ControlMessage > SyncMessage

Static Fields

IDENTIFIER

public static final char IDENTIFIER
Field Value
TypeDescription
char

Constructors

SyncMessage(ConnectionHandler connection)

public SyncMessage(ConnectionHandler connection)
Parameter
NameDescription
connectionConnectionHandler

SyncMessage(ConnectionHandler connection, ControlMessage.ManuallyCreatedToken manuallyCreatedToken)

public SyncMessage(ConnectionHandler connection, ControlMessage.ManuallyCreatedToken manuallyCreatedToken)
Parameters
NameDescription
connectionConnectionHandler
manuallyCreatedTokenControlMessage.ManuallyCreatedToken

Methods

getIdentifier()

protected String getIdentifier()

Used for logging.

Returns
TypeDescription
String
Overrides

getMessageName()

protected String getMessageName()

Used for logging.

Returns
TypeDescription
String
Overrides

getPayloadString()

protected String getPayloadString()

Used for logging.

Returns
TypeDescription
String
Overrides

sendPayload()

protected void sendPayload()

Override this method to include post-processing and metadata in the sending process. Template method for send.

Overrides Exceptions
TypeDescription
Exception