Class SkipMessage (0.6.1)

publicclass SkipMessageextendsControlMessage

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

Inherited Members

Static Methods

createForInvalidStream(ConnectionHandler connectionHandler)

publicstaticSkipMessagecreateForInvalidStream(ConnectionHandlerconnectionHandler)
Parameter
Name Description
connectionHandler ConnectionHandler
Returns
Type Description
Exceptions
Type Description

createForValidStream(ConnectionHandler connectionHandler)

publicstaticSkipMessagecreateForValidStream(ConnectionHandlerconnectionHandler)
Parameter
Name Description
connectionHandler ConnectionHandler
Returns
Type Description
Exceptions
Type Description

Methods

getIdentifier()

protectedStringgetIdentifier()

Used for logging.

Returns
Type Description
Overrides

getMessageName()

protectedStringgetMessageName()

Used for logging.

Returns
Type Description
Overrides

getPayloadString()

protectedStringgetPayloadString()

Used for logging.

Returns
Type Description
Overrides

sendPayload()

protectedvoidsendPayload()

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

Overrides Exceptions
Type Description

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.