public CacheClientUpdater connectServerToClient(Endpoint endpoint, QueueManager qManager,
boolean isPrimary, ClientUpdater failedUpdater, String clientUpdateName) {
CacheClientUpdater updater = new CacheClientUpdater(clientUpdateName, endpoint.getLocation(),
isPrimary, ds, new ClientSideHandshakeImpl(this.handshake), qManager, endpointManager,
endpoint, handshakeTimeout, this.socketCreator);
if (!updater.isConnected()) {
return null;
}
updater.setFailedUpdater(failedUpdater);
updater.start();
return updater;
}