Class CancelRequest
java.lang.Object
io.r2dbc.postgresql.message.frontend.CancelRequest
- All Implemented Interfaces:
FrontendMessage
The CancelRequest message.
-
Nested Class Summary
Nested classes/interfaces inherited from interface FrontendMessage
FrontendMessage.DirectEncoder -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CancelRequest
public CancelRequest(int processId, int secretKey) Create a new message.- Parameters:
processId- the process id of the target backendsecretKey- the secret key for the target backend
-
-
Method Details
-
encode
Description copied from interface:FrontendMessageEncode a message into aByteBuf.- Specified by:
encodein interfaceFrontendMessage- Parameters:
byteBufAllocator- the byteBufAllocator to use to get aByteBufto write into- Returns:
- a
Publisherthat produces theByteBufcontaining the encoded message
-
equals
-
hashCode
-
toString
-