C# Class Brunet.Services.Dht.DhtDiscovery

Use another nodes Dht to exchange SubringTransportAddresses.
Inheritance: Brunet.Transport.Discovery
Afficher le fichier Open project: pstjuste/brunet Class Usage Examples

Protected Properties

Свойство Type Description
_dht IDht
_dht_proxy RpcDhtProxy
_node Brunet.Symphony.StructuredNode
_ongoing int
_p2p_address Brunet.Util.MemBlock
_private_dht_key Brunet.Util.MemBlock
_shared_namespace string
_steady_state int

Méthodes publiques

Méthode Description
BeginFindingTAs ( ) : bool
DhtDiscovery ( StructuredNode node, IDht dht, string shared_namespace, RpcDhtProxy dht_proxy ) : Brunet.Connections

Uses the Dht for the bootstrap problem.

EndFindingTAs ( ) : bool
Stop ( ) : bool

Stops publishing using the dht proxy.

Méthodes protégées

Méthode Description
CheckAndUpdateRemoteTAs ( List tas ) : void

Make sure there are no entries in the Dht, who we should be connected to, but aren't.

SeekTAs ( System.DateTime now ) : void

Method Details

BeginFindingTAs() public méthode

public BeginFindingTAs ( ) : bool
Résultat bool

CheckAndUpdateRemoteTAs() protected méthode

Make sure there are no entries in the Dht, who we should be connected to, but aren't.
protected CheckAndUpdateRemoteTAs ( List tas ) : void
tas List
Résultat void

DhtDiscovery() public méthode

Uses the Dht for the bootstrap problem.
public DhtDiscovery ( StructuredNode node, IDht dht, string shared_namespace, RpcDhtProxy dht_proxy ) : Brunet.Connections
node Brunet.Symphony.StructuredNode The node needing remote tas.
dht IDht The dht for the shared overlay.
shared_namespace string
dht_proxy RpcDhtProxy A dht proxy for the shared overlay.
Résultat Brunet.Connections

EndFindingTAs() public méthode

public EndFindingTAs ( ) : bool
Résultat bool

SeekTAs() protected méthode

protected SeekTAs ( System.DateTime now ) : void
now System.DateTime
Résultat void

Stop() public méthode

Stops publishing using the dht proxy.
public Stop ( ) : bool
Résultat bool

Property Details

_dht protected_oe property

protected IDht _dht
Résultat IDht

_dht_proxy protected_oe property

protected RpcDhtProxy,Brunet.Services.Dht _dht_proxy
Résultat RpcDhtProxy

_node protected_oe property

protected StructuredNode,Brunet.Symphony _node
Résultat Brunet.Symphony.StructuredNode

_ongoing protected_oe property

protected int _ongoing
Résultat int

_p2p_address protected_oe property

protected MemBlock,Brunet.Util _p2p_address
Résultat Brunet.Util.MemBlock

_private_dht_key protected_oe property

protected MemBlock,Brunet.Util _private_dht_key
Résultat Brunet.Util.MemBlock

_shared_namespace protected_oe property

protected string _shared_namespace
Résultat string

_steady_state protected_oe property

protected int _steady_state
Résultat int