Java Code Examples for io.netty.handler.codec.ByteToMessageDecoder#Cumulator

The following examples show how to use io.netty.handler.codec.ByteToMessageDecoder#Cumulator . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: EmbeddedChannelWriteAccumulatingHandlerContext.java    From netty-4.1.22 with Apache License 2.0 4 votes vote down vote up
protected EmbeddedChannelWriteAccumulatingHandlerContext(ByteBufAllocator alloc, ChannelHandler handler,
                                                      ByteToMessageDecoder.Cumulator writeCumulator) {
    this(alloc, handler, writeCumulator, new EmbeddedChannel());
}
 
Example 2
Source File: EmbeddedChannelWriteAccumulatingHandlerContext.java    From netty-4.1.22 with Apache License 2.0 4 votes vote down vote up
protected EmbeddedChannelWriteAccumulatingHandlerContext(ByteBufAllocator alloc, ChannelHandler handler,
                                                      ByteToMessageDecoder.Cumulator writeCumulator,
                                                      EmbeddedChannel channel) {
    super(alloc, handler, channel);
    this.cumulator = ObjectUtil.checkNotNull(writeCumulator, "writeCumulator");
}
 
Example 3
Source File: AbstractSslHandlerBenchmark.java    From netty-4.1.22 with Apache License 2.0 4 votes vote down vote up
SslThroughputBenchmarkHandlerContext(ByteBufAllocator alloc, ChannelHandler handler,
                                            ByteToMessageDecoder.Cumulator writeCumulator) {
    super(alloc, handler, writeCumulator);
}