Exemplo n.º 1
0
 internal PeerDht(Peer peer, StorageLayer storageLayer, DistributedHashTable dht, StorageRpc storageRpc)
 {
     Peer         = peer;
     StorageLayer = storageLayer;
     Dht          = dht;
     StorageRpc   = storageRpc;
 }
Exemplo n.º 2
0
 public DistributedHashTable(DistributedRouting routing, StorageRpc storageRpc, DirectDataRpc directDataRpc)
 {
     _routing       = routing;
     _storageRpc    = storageRpc;
     _directDataRpc = directDataRpc;
 }