public class TcpPacketCompression
extends io.netty.handler.codec.ByteToMessageCodec<io.netty.buffer.ByteBuf>
| Constructor and Description |
|---|
TcpPacketCompression(Session session,
boolean validateDecompression) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
io.netty.buffer.ByteBuf out) |
void |
handlerRemoved(io.netty.channel.ChannelHandlerContext ctx) |
acceptOutboundMessage, channelInactive, channelRead, channelReadComplete, handlerAdded, writebind, close, connect, deregister, disconnect, flush, readchannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredpublic TcpPacketCompression(Session session, boolean validateDecompression)
public void handlerRemoved(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
handlerRemoved in interface io.netty.channel.ChannelHandlerhandlerRemoved in class io.netty.handler.codec.ByteToMessageCodec<io.netty.buffer.ByteBuf>ExceptionCopyright © 2021. All rights reserved.