public class DefaultChannelHandlerInvoker extends Object implements ChannelHandlerInvoker
| Constructor and Description |
|---|
DefaultChannelHandlerInvoker(io.netty.util.concurrent.EventExecutor executor) |
public DefaultChannelHandlerInvoker(io.netty.util.concurrent.EventExecutor executor)
public io.netty.util.concurrent.EventExecutor executor()
ChannelHandlerInvokerEventExecutor which is used to execute an arbitrary task.executor in interface ChannelHandlerInvokerpublic void invokeChannelRegistered(ChannelHandlerContext ctx)
ChannelHandlerInvokerChannelInboundHandler.channelRegistered(ChannelHandlerContext). This method is not for a user
but for the internal ChannelHandlerContext implementation. To trigger an event, use the methods in
ChannelHandlerContext instead.invokeChannelRegistered in interface ChannelHandlerInvokerpublic void invokeChannelUnregistered(ChannelHandlerContext ctx)
ChannelHandlerInvokerChannelInboundHandler.channelUnregistered(ChannelHandlerContext). This method is not for a user
but for the internal ChannelHandlerContext implementation. To trigger an event, use the methods in
ChannelHandlerContext instead.invokeChannelUnregistered in interface ChannelHandlerInvokerpublic void invokeChannelActive(ChannelHandlerContext ctx)
ChannelHandlerInvokerChannelInboundHandler.channelActive(ChannelHandlerContext). This method is not for a user
but for the internal ChannelHandlerContext implementation. To trigger an event, use the methods in
ChannelHandlerContext instead.invokeChannelActive in interface ChannelHandlerInvokerpublic void invokeChannelInactive(ChannelHandlerContext ctx)
ChannelHandlerInvokerChannelInboundHandler.channelInactive(ChannelHandlerContext). This method is not for a user
but for the internal ChannelHandlerContext implementation. To trigger an event, use the methods in
ChannelHandlerContext instead.invokeChannelInactive in interface ChannelHandlerInvokerpublic void invokeExceptionCaught(ChannelHandlerContext ctx, Throwable cause)
ChannelHandlerInvokerChannelHandler.exceptionCaught(ChannelHandlerContext, Throwable). This method is not for a user
but for the internal ChannelHandlerContext implementation. To trigger an event, use the methods in
ChannelHandlerContext instead.invokeExceptionCaught in interface ChannelHandlerInvokerpublic void invokeUserEventTriggered(ChannelHandlerContext ctx, Object event)
ChannelHandlerInvokerChannelInboundHandler.userEventTriggered(ChannelHandlerContext, Object). This method is not for
a user but for the internal ChannelHandlerContext implementation. To trigger an event, use the methods in
ChannelHandlerContext instead.invokeUserEventTriggered in interface ChannelHandlerInvokerpublic void invokeChannelRead(ChannelHandlerContext ctx, Object msg)
ChannelHandlerInvokerChannelInboundHandler.channelRead(ChannelHandlerContext, Object). This method is not for a user
but for the internal ChannelHandlerContext implementation. To trigger an event, use the methods in
ChannelHandlerContext instead.invokeChannelRead in interface ChannelHandlerInvokerpublic void invokeChannelReadComplete(ChannelHandlerContext ctx)
ChannelHandlerInvokerChannelInboundHandler.channelReadComplete(ChannelHandlerContext). This method is not for a user
but for the internal ChannelHandlerContext implementation. To trigger an event, use the methods in
ChannelHandlerContext instead.invokeChannelReadComplete in interface ChannelHandlerInvokerpublic void invokeChannelWritabilityChanged(ChannelHandlerContext ctx)
ChannelHandlerInvokerChannelInboundHandler.channelWritabilityChanged(ChannelHandlerContext). This method is not for
a user but for the internal ChannelHandlerContext implementation. To trigger an event, use the methods in
ChannelHandlerContext instead.invokeChannelWritabilityChanged in interface ChannelHandlerInvokerpublic void invokeBind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise)
ChannelHandlerInvokerChannelOutboundHandler.bind(ChannelHandlerContext, SocketAddress, ChannelPromise).
This method is not for a user but for the internal ChannelHandlerContext implementation.
To trigger an event, use the methods in ChannelHandlerContext instead.invokeBind in interface ChannelHandlerInvokerpublic void invokeConnect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise)
ChannelHandlerInvokerChannelOutboundHandler.connect(ChannelHandlerContext, SocketAddress, SocketAddress, ChannelPromise).
This method is not for a user but for the internal ChannelHandlerContext implementation.
To trigger an event, use the methods in ChannelHandlerContext instead.invokeConnect in interface ChannelHandlerInvokerpublic void invokeDisconnect(ChannelHandlerContext ctx, ChannelPromise promise)
ChannelHandlerInvokerChannelOutboundHandler.disconnect(ChannelHandlerContext, ChannelPromise).
This method is not for a user but for the internal ChannelHandlerContext implementation.
To trigger an event, use the methods in ChannelHandlerContext instead.invokeDisconnect in interface ChannelHandlerInvokerpublic void invokeClose(ChannelHandlerContext ctx, ChannelPromise promise)
ChannelHandlerInvokerChannelOutboundHandler.close(ChannelHandlerContext, ChannelPromise).
This method is not for a user but for the internal ChannelHandlerContext implementation.
To trigger an event, use the methods in ChannelHandlerContext instead.invokeClose in interface ChannelHandlerInvokerpublic void invokeDeregister(ChannelHandlerContext ctx, ChannelPromise promise)
ChannelHandlerInvokerChannelOutboundHandler.deregister(ChannelHandlerContext, ChannelPromise).
This method is not for a user but for the internal ChannelHandlerContext implementation.
To trigger an event, use the methods in ChannelHandlerContext instead.invokeDeregister in interface ChannelHandlerInvokerpublic void invokeRead(ChannelHandlerContext ctx)
ChannelHandlerInvokerChannelOutboundHandler.read(ChannelHandlerContext).
This method is not for a user but for the internal ChannelHandlerContext implementation.
To trigger an event, use the methods in ChannelHandlerContext instead.invokeRead in interface ChannelHandlerInvokerpublic void invokeWrite(ChannelHandlerContext ctx, Object msg, ChannelPromise promise)
ChannelHandlerInvokerChannelOutboundHandler.write(ChannelHandlerContext, Object, ChannelPromise).
This method is not for a user but for the internal ChannelHandlerContext implementation.
To trigger an event, use the methods in ChannelHandlerContext instead.invokeWrite in interface ChannelHandlerInvokerpublic void invokeFlush(ChannelHandlerContext ctx)
ChannelHandlerInvokerChannelOutboundHandler.flush(ChannelHandlerContext).
This method is not for a user but for the internal ChannelHandlerContext implementation.
To trigger an event, use the methods in ChannelHandlerContext instead.invokeFlush in interface ChannelHandlerInvokerCopyright © 2008–2015 The Netty Project. All rights reserved.