protected void closeChannel ( Channel channel ) { MessageDecoder . removeTransmitHistogram ( channel ) ; channel . close ( ) . awaitUninterruptibly ( ) ; allChannels . remove ( channel ) ; }
close a channel