@Override public void channelOpen(ChannelHandlerContext channelHandlerContext,ChannelStateEvent channelStateEvent) throws Exception {
  total_conns.incrementAndGet();
  curr_conns.incrementAndGet();
  channelGroup.add(channelHandlerContext.getChannel());
}

@ Override public void channelOpen ( ChannelHandlerContext channelHandlerContext , ChannelStateEvent channelStateEvent ) throws Exception { total_conns . incrementAndGet ( ) ; curr_conns . incrementAndGet ( ) ; channelGroup . add ( channelHandlerContext . getChannel ( ) ) ; }
on open we manage some statistics , and add this connection to the channel group .
