public class TcpPacketCodec extends io.netty.handler.codec.ByteToMessageCodec<Packet>
| Constructor and Description |
|---|
TcpPacketCodec(Session session,
boolean client) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(io.netty.channel.ChannelHandlerContext ctx,
Packet packet,
io.netty.buffer.ByteBuf buf) |
acceptOutboundMessage, channelInactive, channelRead, channelReadComplete, handlerAdded, handlerRemoved, writebind, close, connect, deregister, disconnect, flush, readchannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredpublic TcpPacketCodec(Session session, boolean client)
Copyright © 2022. All rights reserved.