Class CancelMessage (0.27.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
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
Field Value
Type
Description
int
Constructors
CancelMessage(ConnectionHandler connection)
public CancelMessage ( ConnectionHandler connection )
Methods
getConnectionId()
public int getConnectionId ()
Returns
Type
Description
int
getIdentifier()
public String getIdentifier ()
Returns
Type
Description
String
Overrides
getMessageName()
protected String getMessageName ()
Returns
Type
Description
String
Overrides
getPayloadString()
protected String getPayloadString ()
Returns
Type
Description
String
Overrides
getSecret()
Returns
Type
Description
int
sendPayload()
protected void sendPayload ()
Override this method to include post-processing and metadata in the sending process. Template
method for send.
Overrides
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 2026-03-09 UTC.
[null,null,["Last updated 2026-03-09 UTC."],[],[]]