Brunet.Services.Dht.Dht.Dht C# (CSharp) Méthode

Dht() public méthode

A default Dht client provides a DEGREE of 1 and a sychronous wait time of up to 60 seconds.
public Dht ( Node node ) : System
node Brunet.Node The node to provide service for.
Résultat System
    public Dht(Node node) {
      Node = node;
      _rpc = node.Rpc;
      _sync = new object();
      StateChangeHandler(Node, Node.ConState);
      Node.StateChangeEvent += StateChangeHandler;
      DEGREE = 1;
      MAJORITY = 1;
      DELAY = 60000;
    }

Same methods

Dht::Dht ( Node node, int degree ) : System
Dht::Dht ( Node node, int degree, int delay ) : System