Class EmbeddedChannelWriteAccumulatingHandlerContext

  • All Implemented Interfaces:
    io.netty.channel.ChannelHandlerContext, io.netty.channel.ChannelInboundInvoker, io.netty.channel.ChannelOutboundInvoker, io.netty.util.AttributeMap

    public abstract class EmbeddedChannelWriteAccumulatingHandlerContext
    extends EmbeddedChannelHandlerContext
    • Constructor Detail

      • EmbeddedChannelWriteAccumulatingHandlerContext

        protected EmbeddedChannelWriteAccumulatingHandlerContext​(io.netty.buffer.ByteBufAllocator alloc,
                                                                 io.netty.channel.ChannelHandler handler,
                                                                 io.netty.handler.codec.ByteToMessageDecoder.Cumulator writeCumulator)
      • EmbeddedChannelWriteAccumulatingHandlerContext

        protected EmbeddedChannelWriteAccumulatingHandlerContext​(io.netty.buffer.ByteBufAllocator alloc,
                                                                 io.netty.channel.ChannelHandler handler,
                                                                 io.netty.handler.codec.ByteToMessageDecoder.Cumulator writeCumulator,
                                                                 io.netty.channel.embedded.EmbeddedChannel channel)
    • Method Detail

      • cumulation

        public final io.netty.buffer.ByteBuf cumulation()
      • releaseCumulation

        public final void releaseCumulation()
      • write

        public final io.netty.channel.ChannelFuture write​(Object msg)
        Specified by:
        write in interface io.netty.channel.ChannelOutboundInvoker
        Overrides:
        write in class EmbeddedChannelHandlerContext
      • write

        public final io.netty.channel.ChannelFuture write​(Object msg,
                                                          io.netty.channel.ChannelPromise promise)
        Specified by:
        write in interface io.netty.channel.ChannelOutboundInvoker
        Overrides:
        write in class EmbeddedChannelHandlerContext
      • writeAndFlush

        public final io.netty.channel.ChannelFuture writeAndFlush​(Object msg,
                                                                  io.netty.channel.ChannelPromise promise)
        Specified by:
        writeAndFlush in interface io.netty.channel.ChannelOutboundInvoker
        Overrides:
        writeAndFlush in class EmbeddedChannelHandlerContext
      • writeAndFlush

        public final io.netty.channel.ChannelFuture writeAndFlush​(Object msg)
        Specified by:
        writeAndFlush in interface io.netty.channel.ChannelOutboundInvoker
        Overrides:
        writeAndFlush in class EmbeddedChannelHandlerContext