Class CancelMessage (0.7.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicclass CancelMessageextendsBootstrapMessageThis 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.
Inherited Members
Static Fields
IDENTIFIER
publicstaticfinalintIDENTIFIER Type
Description
Constructors
CancelMessage(ConnectionHandler connection)
publicCancelMessage(ConnectionHandlerconnection) Name
Description
Methods
getConnectionId()
publicintgetConnectionId() Type
Description
getIdentifier()
protectedStringgetIdentifier()Used for logging.
Type
Description
Overrides
getMessageName()
protectedStringgetMessageName()Used for logging.
Type
Description
Overrides
getPayloadString()
protectedStringgetPayloadString()Used for logging.
Type
Description
Overrides
getSecret()
publicintgetSecret() Type
Description
sendPayload()
protectedvoidsendPayload()Override this method to include post-processing and metadata in the sending process. Template method for send.
Type
Description