public interface ClientMessage
| Modifier and Type | Method and Description |
|---|---|
CorePublisher<io.netty.buffer.ByteBuf> |
encode(io.netty.buffer.ByteBufAllocator allocator,
ConnectionContext context)
Encode a message into
ByteBufs. |
CorePublisher<io.netty.buffer.ByteBuf> encode(io.netty.buffer.ByteBufAllocator allocator, ConnectionContext context)
ByteBufs.allocator - the ByteBufAllocator that use to get ByteBuf to write into.context - current MySQL connection context.Flux that's produces the encoded ByteBufs.IllegalArgumentException - if allocator or context is null.Copyright © 2018–2023 asyncer.io. All rights reserved.