function stop(cb) {
    if (!this.started) {
      this._log.warn("SyncServer: Warning: server not running. Can't stop me now!");
      return;
    }

    this.server.stop(cb);
    this.started = false;
  }
/**
   * Stop the SyncServer's HTTP server.
   *
   * @param cb
   *        A callback function. Invoked after the server has been stopped.
   *
   */
Stop the SyncServer's HTTP server.
@param cb
A callback function. Invoked after the server has been stopped.
Stop the SyncServer ' s HTTP server . @param cb A callback function . Invoked after the server has been stopped .
function stop(cb) {
    if (!this.started) {
      this._log.warn("SyncServer: Warning: server not running. Can't stop me now!");
      return;
    }
    this.server.stop(cb);
    this.started = false;
  }
function stop ( cb ) { if ( ! this . started ) { this . _log . warn ( "SyncServer: Warning: server not running. Can't stop me now!" ) ; return ; } this . server . stop ( cb ) ; this . started = false ; }
Stop the SyncServer's HTTP server.
Stop the SyncServer ' s HTTP server .