public final class MySQLPacketCodec extends PacketCodec<MySQLPacket>
| Constructor and Description |
|---|
MySQLPacketCodec() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDecode(ChannelHandlerContext context,
ByteBuf in,
List<Object> out,
int readableBytes) |
protected void |
doEncode(ChannelHandlerContext context,
MySQLPacket message,
ByteBuf out) |
protected boolean |
isValidHeader(int readableBytes) |
decode, encodeprotected boolean isValidHeader(int readableBytes)
isValidHeader in class PacketCodec<MySQLPacket>protected void doDecode(ChannelHandlerContext context,
ByteBuf in,
List<Object> out,
int readableBytes)
doDecode in class PacketCodec<MySQLPacket>protected void doEncode(ChannelHandlerContext context,
MySQLPacket message,
ByteBuf out)
doEncode in class PacketCodec<MySQLPacket>Copyright © 2018. All rights reserved.