示例#1
0
 @Override
 public void channelDisconnected(final ChannelHandlerContext ctx, final ChannelStateEvent e)
     throws Exception {
   chan = null;
   super.channelDisconnected(ctx, e); // Let the ReplayingDecoder cleanup.
   cleanup(e.getChannel());
 }
示例#2
0
 @Override
 public void handleUpstream(final ChannelHandlerContext ctx, final ChannelEvent e)
     throws Exception {
   if (LOG.isDebugEnabled()) {
     LOG.debug(getPeerUuidLoggingString() + e.toString());
   }
   super.handleUpstream(ctx, e);
 }