connectionLogger = connectionLoggerFactory.newConnectionLogger();
}
SocketConnection connection = new SocketConnection(endpoint, connectionTimeoutMs,
connectionLogger, handshaker);
connection.setNetListener(netListener);
connection.start();
return connection;
}
}