Interface FrontendMessage.DirectEncoder
- All Known Implementing Classes:
Bind, Close, CompositeFrontendMessage, CopyDone, Describe, Execute, Flush, Parse, SSLRequest, Sync, Terminate
- Enclosing interface:
FrontendMessage
public static interface FrontendMessage.DirectEncoder
Interface for messages that can be directly encoded without producing a
Publisher first.-
Method Summary
Modifier and TypeMethodDescriptionvoidencode(io.netty.buffer.ByteBuf byteBuf) Encode a message directly by writing its content to aByteBuf.
-
Method Details
-
encode
void encode(io.netty.buffer.ByteBuf byteBuf) Encode a message directly by writing its content to aByteBuf.- Parameters:
byteBuf- the targetByteBufto write into
-