Package io.netty5.microbench.channel
Class EmbeddedChannelWriteReleaseHandlerContext
- java.lang.Object
-
- io.netty5.microbench.channel.EmbeddedChannelHandlerContext
-
- io.netty5.microbench.channel.EmbeddedChannelWriteReleaseHandlerContext
-
- All Implemented Interfaces:
io.netty5.channel.ChannelHandlerContext,io.netty5.channel.ChannelInboundInvoker,io.netty5.channel.ChannelOutboundInvoker,io.netty5.util.AttributeMap
public abstract class EmbeddedChannelWriteReleaseHandlerContext extends EmbeddedChannelHandlerContext
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEmbeddedChannelWriteReleaseHandlerContext(io.netty.buffer.ByteBufAllocator alloc, io.netty5.channel.ChannelHandler handler)protectedEmbeddedChannelWriteReleaseHandlerContext(io.netty.buffer.ByteBufAllocator alloc, io.netty5.channel.ChannelHandler handler, io.netty5.channel.embedded.EmbeddedChannel channel)protectedEmbeddedChannelWriteReleaseHandlerContext(io.netty5.buffer.api.BufferAllocator alloc, io.netty5.channel.ChannelHandler handler)protectedEmbeddedChannelWriteReleaseHandlerContext(io.netty5.buffer.api.BufferAllocator alloc, io.netty5.channel.ChannelHandler handler, io.netty5.channel.embedded.EmbeddedChannel channel)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidhandleException(Throwable t)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
alloc, attr, bind, bufferAllocator, channel, close, connect, connect, deregister, disconnect, executor, fireChannelActive, fireChannelInactive, fireChannelRead, fireChannelReadComplete, fireChannelRegistered, fireChannelUnregistered, fireChannelWritabilityChanged, fireExceptionCaught, fireUserEventTriggered, flush, handler, hasAttr, isRemoved, name, newFailedFuture, newPromise, newSucceededFuture, pipeline, read, register
-
-
-
-
Constructor Detail
-
EmbeddedChannelWriteReleaseHandlerContext
protected EmbeddedChannelWriteReleaseHandlerContext(io.netty.buffer.ByteBufAllocator alloc, io.netty5.channel.ChannelHandler handler)
-
EmbeddedChannelWriteReleaseHandlerContext
protected EmbeddedChannelWriteReleaseHandlerContext(io.netty.buffer.ByteBufAllocator alloc, io.netty5.channel.ChannelHandler handler, io.netty5.channel.embedded.EmbeddedChannel channel)
-
EmbeddedChannelWriteReleaseHandlerContext
protected EmbeddedChannelWriteReleaseHandlerContext(io.netty5.buffer.api.BufferAllocator alloc, io.netty5.channel.ChannelHandler handler)
-
EmbeddedChannelWriteReleaseHandlerContext
protected EmbeddedChannelWriteReleaseHandlerContext(io.netty5.buffer.api.BufferAllocator alloc, io.netty5.channel.ChannelHandler handler, io.netty5.channel.embedded.EmbeddedChannel channel)
-
-
Method Detail
-
handleException
protected abstract void handleException(Throwable t)
- Specified by:
handleExceptionin classEmbeddedChannelHandlerContext
-
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
-
-