public final class ExitMessage extends Object
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Mono<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. |
static ExitMessage |
getInstance() |
protected int |
size() |
String |
toString() |
protected void |
writeTo(io.netty.buffer.ByteBuf buf) |
public static ExitMessage getInstance()
protected int size()
Envelopes.MAX_ENVELOPE_SIZEprotected void writeTo(io.netty.buffer.ByteBuf buf)
public Mono<io.netty.buffer.ByteBuf> encode(io.netty.buffer.ByteBufAllocator allocator, dev.miku.r2dbc.mysql.util.ConnectionContext context)
ClientMessageByteBuf data buffer without envelope header.encode インタフェース内 ClientMessageallocator - 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.