code: public void channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e) throws Exception {
          if (LOG.isDebugEnabled()) {
              LOG.debug("Connected to: {}", getRemoteAddress());
          }
      }
docs: /*
  (non-Javadoc)
  
  @see
  org.jboss.netty.channel.SimpleChannelHandler#channelConnected(org.jboss.
  netty.channel.ChannelHandlerContext,
  org.jboss.netty.channel.ChannelStateEvent)