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