changed the visibility of ctx, event in channel event runnable, so execution handler implementers can have a down stream execution handler for SEDA

This commit is contained in:
Jestan Nirojan 2011-12-02 00:15:09 +05:30
parent ccbe3dd2f8
commit 460237d3f3

View File

@ -24,7 +24,7 @@ import org.jboss.netty.util.EstimatableObjectWrapper;
/**
* a {@link Runnable} which sends the specified {@link ChannelEvent} upstream.
* Most users will not see this type at all because it is used by
* {@link Executor} implementors only
* {@link Executor} implementers only
*
* @author <a href="http://www.jboss.org/netty/">The Netty Project</a>
* @author <a href="http://gleamynode.net/">Trustin Lee</a>
@ -34,8 +34,8 @@ import org.jboss.netty.util.EstimatableObjectWrapper;
*/
public class ChannelEventRunnable implements Runnable, EstimatableObjectWrapper {
private final ChannelHandlerContext ctx;
private final ChannelEvent e;
protected final ChannelHandlerContext ctx;
protected final ChannelEvent e;
int estimatedSize;
/**