public interface EofMessage extends CompleteMessage
Note: EOF message are deprecated and OK message are also used to indicate EOF as of MySQL 5.7.5.
| Modifier and Type | Method and Description |
|---|---|
static EofMessage |
decode(io.netty.buffer.ByteBuf buf)
Decode EOF message by a
ByteBuf, automatically identify protocol version. |
static boolean |
isValidSize(int readableBytes)
Check whether the length of buffer is the valid length for decoding the EOF message.
|
isDonestatic EofMessage decode(io.netty.buffer.ByteBuf buf)
ByteBuf, automatically identify protocol version.buf - the ByteBuf.static boolean isValidSize(int readableBytes)
readableBytes - the length of buffer.Copyright © 2018–2023 asyncer.io. All rights reserved.