// construct handlers for this connection
CTPHandler handler = handlerFactory.constructHandler();
CTPConnection server = CTPConnection.server(channelKey, handler, this);
channelKey.attach(server);
server.handleConnect();
}
/**
* Connect to the specified host.
*/