C# (CSharp) Brunet.Services.Dht Пространство имен

Классы

Имя Описание
Dht This class provides a client interface to the dht, the servers only work together on a neighboring basis but not on a whole system basis. It is up to the client to provide fault tolerance. This class does it by naive replication.
Dht.AsDhtGetState Stores the state used for asynchronous gets.
Dht.AsDhtPutState Stores the state used for asynchronous puts.
DhtDiscovery Use another nodes Dht to exchange SubringTransportAddresses.
DhtException Exception generated from the Dht should use this exception
DhtPutException
Entry An entry contains the data for a key:value pair such as the key, value, create time, and end time. The data is stored in a hashtable, which allows this to be casted to and from a hash table.
RpcDht Provides a BrunetRpc wrapper around the Dht so that the local node can perform Dht operations.
RpcDhtProxy Provides RpcProxyHandler service, which reinserts dht entry before its ttl expires
RpcDhtProxy.Entry This class keeps Entry, whose element is key, value, ttl, and brunet timer. Each instance has its own timer, so we don't need to order or track each proxy entry to notice the oldest entry. Each timer initiates ttl expiration. While ttl expiration, it calls EntryCallback.
TableServer The TableServer provides the Dht server end point.
TableServer.TransferState
TableServerData