Class SkipMessage (0.27.1)

publicclassSkipMessageextendsControlMessage

SkipMessage is a pseudo wire-protocol message that is used to read and skip messages that we receive that we do not want at that time. This applies to COPY messages during normal operation, and sync/flush messages during COPY operation.

Inheritance

java.lang.Object > WireMessage > ControlMessage > SkipMessage

Static Methods

createForInvalidStream(ConnectionHandler connectionHandler)

publicstaticSkipMessagecreateForInvalidStream(ConnectionHandlerconnectionHandler)
Parameter
NameDescription
connectionHandlerConnectionHandler
Returns
TypeDescription
SkipMessage
Exceptions
TypeDescription
IOException

createForValidStream(ConnectionHandler connectionHandler)

publicstaticSkipMessagecreateForValidStream(ConnectionHandlerconnectionHandler)
Parameter
NameDescription
connectionHandlerConnectionHandler
Returns
TypeDescription
SkipMessage
Exceptions
TypeDescription
IOException

Methods

getIdentifier()

publicStringgetIdentifier()

Used for logging.

Returns
TypeDescription
String
Overrides

getMessageName()

protectedStringgetMessageName()

Used for logging.

Returns
TypeDescription
String
Overrides

getPayloadString()

protectedStringgetPayloadString()

Used for logging.

Returns
TypeDescription
String
Overrides

sendPayload()

protectedvoidsendPayload()

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

Overrides
Exceptions
TypeDescription
Exception