@Override
    public void onEvent(String remoteAddr, Connection conn) {
        Assert.assertNotNull(remoteAddr);
        doCheckConnection(conn);
        this.remoteAddr = remoteAddr;
        this.connection = conn;
        connected.set(true);
        connectTimes.incrementAndGet();
        latch.countDown();
    }
ConnectionEventProcessor for ConnectionEventType.CONNECT

@author xiaomin.cxm
@version $Id: CONNECTEventProcessor.java, v 0.1 Apr 8, 2016 10:58:48 AM xiaomin.cxm Exp $
src/test/java/com/alipay/remoting/rpc/common/CONNECTEventProcessor.java