code: @Override
  	public void channelActive(final ChannelHandlerContext ctx) throws Exception {
  		if (this.ctx == null) {
  			this.ctx = ctx;
  		}
  
  		super.channelActive(ctx);
  	}
docs: ------------------------------------------------------------------------