Fixed a silly mistake - LifeCycleAwareChannelHandler should implement ChannelHandler instead of ChannelHandlerContext

This commit is contained in:
Trustin Lee 2008-12-09 07:14:27 +00:00
parent 891821788a
commit 5eec9ac58c

View File

@ -32,7 +32,7 @@ package org.jboss.netty.channel;
* @author Trustin Lee (tlee@redhat.com)
* @version $Rev$, $Date$
*/
public interface LifeCycleAwareChannelHandler extends ChannelHandlerContext {
public interface LifeCycleAwareChannelHandler extends ChannelHandler {
void beforeAdd(ChannelHandlerContext ctx) throws Exception;
void afterAdd(ChannelHandlerContext ctx) throws Exception;
void beforeRemove(ChannelHandlerContext ctx) throws Exception;