Brunet.Services.Dht.DhtDiscovery.Stop C# (CSharp) Метод

Stop() публичный Метод

Stops publishing using the dht proxy.
public Stop ( ) : bool
Результат bool
    override public bool Stop()
    {
      _dht_proxy.Unregister(_private_dht_key, _p2p_address);

      bool first = base.EndFindingTAs();

      if(Interlocked.Exchange(ref _steady_state, 0) == 1) {
        FuzzyEvent fe = _fe;
        if(fe != null) {
          _fe.TryCancel();
        }
        first = true;
      }

      return first;
    }