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