IdleStateHandler and ReadTimeoutHandler don't need to override channelOpen anymore because the contract of LifeCycleAwareChannelHandler has been changed.

This commit is contained in:
Trustin Lee 2009-12-17 09:13:30 +00:00
parent 7048c51898
commit ba17621c01
2 changed files with 0 additions and 14 deletions

View File

@ -216,13 +216,6 @@ public class IdleStateHandler extends SimpleChannelUpstreamHandler
// NOOP
}
@Override
public void channelOpen(ChannelHandlerContext ctx, ChannelStateEvent e)
throws Exception {
initialize(ctx);
ctx.sendUpstream(e);
}
@Override
public void channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)
throws Exception {

View File

@ -135,13 +135,6 @@ public class ReadTimeoutHandler extends SimpleChannelUpstreamHandler
// NOOP
}
@Override
public void channelOpen(ChannelHandlerContext ctx, ChannelStateEvent e)
throws Exception {
initialize(ctx);
ctx.sendUpstream(e);
}
@Override
public void channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)
throws Exception {