Interface FrontendMessage
- All Known Implementing Classes:
Bind, CancelRequest, Close, CompositeFrontendMessage, CopyData, CopyDone, CopyFail, Describe, Execute, Flush, FunctionCall, GSSResponse, Parse, PasswordMessage, Query, SASLInitialResponse, SASLResponse, SSLRequest, StartupMessage, Sync, Terminate
public interface FrontendMessage
A message sent from a frontend client to a backend server.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInterface for messages that can be directly encoded without producing aPublisherfirst. -
Method Summary
-
Method Details
-
encode
Encode a message into aByteBuf.- Parameters:
byteBufAllocator- the byteBufAllocator to use to get aByteBufto write into- Returns:
- a
Publisherthat produces theByteBufcontaining the encoded message - Throws:
IllegalArgumentException- ifbyteBufAllocatorisnull
-