public class CancelMessage extends BootstrapMessage
This message handles the imperative cancellation, as issues in a new connection by the PG wire protocol. We expect that this message contains an ID for the connection which issues the original query, as well as an auth secret.
Static Fields
IDENTIFIER
public static final int IDENTIFIER
Type | Description |
int |
Constructors
CancelMessage(ConnectionHandler connection)
public CancelMessage(ConnectionHandler connection)
Name | Description |
connection | ConnectionHandler |
Methods
getConnectionId()
public int getConnectionId()
Type | Description |
int |
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 |
getSecret()
public int getSecret()
Type | Description |
int |
sendPayload()
protected void sendPayload()
Override this method to include post-processing and metadata in the sending process. Template method for send.
Type | Description |
Exception |