public class SkipMessage extends ControlMessage
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.
Static Methods
createForInvalidStream(ConnectionHandler connectionHandler)
public static SkipMessage createForInvalidStream(ConnectionHandler connectionHandler)
Name | Description |
connectionHandler | ConnectionHandler |
Type | Description |
SkipMessage |
Type | Description |
IOException |
createForValidStream(ConnectionHandler connectionHandler)
public static SkipMessage createForValidStream(ConnectionHandler connectionHandler)
Name | Description |
connectionHandler | ConnectionHandler |
Type | Description |
SkipMessage |
Type | Description |
IOException |
Methods
getIdentifier()
protected String getIdentifier()
Used for logging.
Type | Description |
String |
getMessageName()
protected String getMessageName()
Used for logging.
Type | Description |
String |
getPayloadString()
protected String getPayloadString()
Used for logging.
Type | Description |
String |
sendPayload()
protected void sendPayload()
Override this method to include post-processing and metadata in the sending process. Template method for send.
Type | Description |
Exception |