public class OrderedWriteChannelHandlerContext extends DelegatingChannelHandlerContext
ChannelHandlerContext that ensures all writes are performed in the order they are invoked.
 This works around https://github.com/netty/netty/issues/7783 where writes by an event loop 'skip ahead' of writes off of the
 event loop.| Modifier and Type | Method and Description | 
|---|---|
static io.netty.channel.ChannelHandlerContext | 
wrap(io.netty.channel.ChannelHandlerContext ctx)  | 
io.netty.channel.ChannelFuture | 
write(Object msg)  | 
io.netty.channel.ChannelFuture | 
write(Object msg,
     io.netty.channel.ChannelPromise promise)  | 
io.netty.channel.ChannelFuture | 
writeAndFlush(Object msg)  | 
io.netty.channel.ChannelFuture | 
writeAndFlush(Object msg,
             io.netty.channel.ChannelPromise promise)  | 
alloc, attr, bind, bind, channel, close, close, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, executor, fireChannelActive, fireChannelInactive, fireChannelRead, fireChannelReadComplete, fireChannelRegistered, fireChannelUnregistered, fireChannelWritabilityChanged, fireExceptionCaught, fireUserEventTriggered, flush, handler, hasAttr, isRemoved, name, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, pipeline, read, voidPromisepublic static io.netty.channel.ChannelHandlerContext wrap(io.netty.channel.ChannelHandlerContext ctx)
public io.netty.channel.ChannelFuture write(Object msg)
write in interface io.netty.channel.ChannelOutboundInvokerwrite in class DelegatingChannelHandlerContextpublic io.netty.channel.ChannelFuture write(Object msg, io.netty.channel.ChannelPromise promise)
write in interface io.netty.channel.ChannelOutboundInvokerwrite in class DelegatingChannelHandlerContextpublic io.netty.channel.ChannelFuture writeAndFlush(Object msg)
writeAndFlush in interface io.netty.channel.ChannelOutboundInvokerwriteAndFlush in class DelegatingChannelHandlerContextpublic io.netty.channel.ChannelFuture writeAndFlush(Object msg, io.netty.channel.ChannelPromise promise)
writeAndFlush in interface io.netty.channel.ChannelOutboundInvokerwriteAndFlush in class DelegatingChannelHandlerContextCopyright © 2023. All rights reserved.