public class NettyCompressionDecoder
extends io.netty.handler.codec.ByteToMessageDecoder
コンストラクタと説明 |
---|
NettyCompressionDecoder(int thresholdIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext p_decode_1_,
io.netty.buffer.ByteBuf p_decode_2_,
java.util.List<java.lang.Object> p_decode_3_)
Decode the from one
ByteBuf to an other. |
void |
setCompressionThreshold(int thresholdIn) |
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
protected void decode(io.netty.channel.ChannelHandlerContext p_decode_1_, io.netty.buffer.ByteBuf p_decode_2_, java.util.List<java.lang.Object> p_decode_3_) throws java.lang.Exception
io.netty.handler.codec.ByteToMessageDecoder
ByteBuf
to an other. This method will be called till either the input
ByteBuf
has nothing to read when return from this method or till nothing was read from the input
ByteBuf
.decode
クラス内 io.netty.handler.codec.ByteToMessageDecoder
p_decode_1_
- the ChannelHandlerContext
which this ByteToMessageDecoder
belongs top_decode_2_
- the ByteBuf
from which to read datap_decode_3_
- the List
to which decoded messages should be addedjava.lang.Exception
- is thrown if an error occurspublic void setCompressionThreshold(int thresholdIn)