Package io.netty5.microbench.channel
Class EmbeddedChannelWriteAccumulatingHandlerContext
- java.lang.Object
-
- io.netty5.microbench.channel.EmbeddedChannelHandlerContext
-
- io.netty5.microbench.channel.EmbeddedChannelWriteAccumulatingHandlerContext
-
- All Implemented Interfaces:
io.netty5.channel.ChannelHandlerContext,io.netty5.channel.ChannelInboundInvoker,io.netty5.channel.ChannelOutboundInvoker,io.netty5.util.concurrent.FuturePromiseFactory
public abstract class EmbeddedChannelWriteAccumulatingHandlerContext extends EmbeddedChannelHandlerContext
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEmbeddedChannelWriteAccumulatingHandlerContext(io.netty5.buffer.api.BufferAllocator alloc, io.netty5.channel.ChannelHandler handler, io.netty5.handler.codec.ByteToMessageDecoder.Cumulator writeCumulator)protectedEmbeddedChannelWriteAccumulatingHandlerContext(io.netty5.buffer.api.BufferAllocator alloc, io.netty5.channel.ChannelHandler handler, io.netty5.handler.codec.ByteToMessageDecoder.Cumulator writeCumulator, io.netty5.channel.embedded.EmbeddedChannel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty5.buffer.api.Buffercumulation()voidreleaseCumulation()io.netty5.util.concurrent.Future<Void>write(Object msg)io.netty5.util.concurrent.Future<Void>writeAndFlush(Object msg)-
Methods inherited from class io.netty5.microbench.channel.EmbeddedChannelHandlerContext
bind, bufferAllocator, channel, close, connect, connect, deregister, disconnect, executor, fireChannelActive, fireChannelExceptionCaught, fireChannelInactive, fireChannelInboundEvent, fireChannelRead, fireChannelReadComplete, fireChannelRegistered, fireChannelShutdown, fireChannelUnregistered, fireChannelWritabilityChanged, flush, handleException, handler, isRemoved, name, newFailedFuture, newPromise, newSucceededFuture, pipeline, read, register, sendOutboundEvent, shutdown
-
-
-
-
Constructor Detail
-
EmbeddedChannelWriteAccumulatingHandlerContext
protected EmbeddedChannelWriteAccumulatingHandlerContext(io.netty5.buffer.api.BufferAllocator alloc, io.netty5.channel.ChannelHandler handler, io.netty5.handler.codec.ByteToMessageDecoder.Cumulator writeCumulator)
-
EmbeddedChannelWriteAccumulatingHandlerContext
protected EmbeddedChannelWriteAccumulatingHandlerContext(io.netty5.buffer.api.BufferAllocator alloc, io.netty5.channel.ChannelHandler handler, io.netty5.handler.codec.ByteToMessageDecoder.Cumulator writeCumulator, io.netty5.channel.embedded.EmbeddedChannel channel)
-
-
Method Detail
-
cumulation
public final io.netty5.buffer.api.Buffer cumulation()
-
releaseCumulation
public final void releaseCumulation()
-
write
public final io.netty5.util.concurrent.Future<Void> write(Object msg)
- Specified by:
writein interfaceio.netty5.channel.ChannelOutboundInvoker- Overrides:
writein classEmbeddedChannelHandlerContext
-
writeAndFlush
public final io.netty5.util.concurrent.Future<Void> writeAndFlush(Object msg)
- Specified by:
writeAndFlushin interfaceio.netty5.channel.ChannelOutboundInvoker- Overrides:
writeAndFlushin classEmbeddedChannelHandlerContext
-
-