protected void doInit(ILogger logger, IRemoteServerConnection rsc) throws Exception {
    setLogger(logger);
    setRemoteServerConnection(rsc);
    getRemoteServerConnection().addConnectionDisconnectListener(new ConnectionDisconnectListener() {
      public void OnConnectionDisconnectEvent(ConnectionDisconnectEvent evt) throws Exception {
        if (evt == null) {
          throw new IllegalArgumentException("ConnectionDisconnectEvent is null");
        }
        unLockAll(evt.getIdConnection());
      }
    });
    logger.info("Sync.init");
  }