Fixed a silly mistake - LifeCycleAwareChannelHandler should implement ChannelHandler instead of ChannelHandlerContext
This commit is contained in:
parent
891821788a
commit
5eec9ac58c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user