public class DefaultChannelHandlerInvoker extends Object implements ChannelHandlerInvoker
| Constructor and Description |
|---|
DefaultChannelHandlerInvoker(EventExecutor executor) |
public DefaultChannelHandlerInvoker(EventExecutor executor)
public EventExecutor executor()
ChannelHandlerInvokerEventExecutor which is used to execute an arbitrary task.executor in interface ChannelHandlerInvokerpublic void invokeChannelRegistered(ChannelHandlerContext ctx)
ChannelHandlerInvokerChannelHandler.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)
ChannelHandlerInvokerChannelHandler.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)
ChannelHandlerInvokerChannelHandler.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)
ChannelHandlerInvokerChannelHandler.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)
ChannelHandlerInvokerChannelHandler.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)
ChannelHandlerInvokerChannelHandler.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)
ChannelHandlerInvokerChannelHandler.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)
ChannelHandlerInvokerChannelHandler.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)
ChannelHandlerInvokerChannelHandler.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)
ChannelHandlerInvokerChannelHandler.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)
ChannelHandlerInvokerChannelHandler.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)
ChannelHandlerInvokerChannelHandler.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)
ChannelHandlerInvokerChannelHandler.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)
ChannelHandlerInvokerChannelHandler.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)
ChannelHandlerInvokerChannelHandler.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)
ChannelHandlerInvokerChannelHandler.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.