Class ChannelUpstreamEventRunnable
- java.lang.Object
-
- org.jboss.netty.handler.execution.ChannelEventRunnable
-
- org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable
-
- All Implemented Interfaces:
Runnable
,EstimatableObjectWrapper
public class ChannelUpstreamEventRunnable extends ChannelEventRunnable
AChannelEventRunnable
which sends the specifiedChannelEvent
upstream. Most users will not see this type at all because it is used byExecutor
implementers only
-
-
Field Summary
-
Fields inherited from class org.jboss.netty.handler.execution.ChannelEventRunnable
ctx, e, PARENT
-
-
Constructor Summary
Constructors Constructor Description ChannelUpstreamEventRunnable(ChannelHandlerContext ctx, ChannelEvent e, Executor executor)
Creates aRunnable
which sends the specifiedChannelEvent
upstream via the specifiedChannelHandlerContext
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doRun()
Sends the event upstream.-
Methods inherited from class org.jboss.netty.handler.execution.ChannelEventRunnable
getContext, getEvent, run, unwrap
-
-
-
-
Constructor Detail
-
ChannelUpstreamEventRunnable
public ChannelUpstreamEventRunnable(ChannelHandlerContext ctx, ChannelEvent e, Executor executor)
Creates aRunnable
which sends the specifiedChannelEvent
upstream via the specifiedChannelHandlerContext
.
-
-
Method Detail
-
doRun
protected void doRun()
Sends the event upstream.- Specified by:
doRun
in classChannelEventRunnable
-
-