|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.netty.handler.execution.ChannelEventRunnable
public class ChannelEventRunnable
a Runnable
which sends the specified ChannelEvent
upstream.
Most users will not see this type at all because it is used by
Executor
implementors only
Constructor Summary | |
---|---|
ChannelEventRunnable(ChannelHandlerContext ctx,
ChannelEvent e)
Creates a Runnable which sends the specified ChannelEvent
upstream via the specified ChannelHandlerContext . |
Method Summary | |
---|---|
ChannelHandlerContext |
getContext()
Returns the ChannelHandlerContext which will be used to
send the ChannelEvent upstream. |
ChannelEvent |
getEvent()
Returns the ChannelEvent which will be sent upstream. |
void |
run()
Sends the event upstream. |
Object |
unwrap()
Returns the underlying object that needs to be taken into account by ObjectSizeEstimator for more accurate object size estimation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChannelEventRunnable(ChannelHandlerContext ctx, ChannelEvent e)
Runnable
which sends the specified ChannelEvent
upstream via the specified ChannelHandlerContext
.
Method Detail |
---|
public ChannelHandlerContext getContext()
ChannelHandlerContext
which will be used to
send the ChannelEvent
upstream.
public ChannelEvent getEvent()
ChannelEvent
which will be sent upstream.
public void run()
run
in interface Runnable
public Object unwrap()
EstimatableObjectWrapper
ObjectSizeEstimator
for more accurate object size estimation.
unwrap
in interface EstimatableObjectWrapper
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |