public interface ClientMessage
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Publisher<io.netty.buffer.ByteBuf> |
encode(io.netty.buffer.ByteBufAllocator allocator,
dev.miku.r2dbc.mysql.util.ConnectionContext context)
Encode a message into a
ByteBuf data buffer without envelope header. |
Publisher<io.netty.buffer.ByteBuf> encode(io.netty.buffer.ByteBufAllocator allocator, dev.miku.r2dbc.mysql.util.ConnectionContext context)
ByteBuf data buffer without envelope header.allocator - the ByteBufAllocator to use to get a ByteBuf data buffer to write into.context - current MySQL connection contextPublisher that produces ByteBufs sliced by Envelopes.MAX_ENVELOPE_SIZE, which containing the encoded message.Copyright © 2018–2020. All rights reserved.