C# Класс Brunet.Services.Dht.DhtDiscovery

Use another nodes Dht to exchange SubringTransportAddresses.
Наследование: Brunet.Transport.Discovery
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
_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

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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

Описание методов

BeginFindingTAs() публичный Метод

public BeginFindingTAs ( ) : bool
Результат bool

CheckAndUpdateRemoteTAs() защищенный Метод

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
Результат void

DhtDiscovery() публичный Метод

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.
Результат Brunet.Connections

EndFindingTAs() публичный Метод

public EndFindingTAs ( ) : bool
Результат bool

SeekTAs() защищенный Метод

protected SeekTAs ( System.DateTime now ) : void
now System.DateTime
Результат void

Stop() публичный Метод

Stops publishing using the dht proxy.
public Stop ( ) : bool
Результат bool

Описание свойств

_dht защищенное свойство

protected IDht _dht
Результат IDht

_dht_proxy защищенное свойство

protected RpcDhtProxy,Brunet.Services.Dht _dht_proxy
Результат RpcDhtProxy

_node защищенное свойство

protected StructuredNode,Brunet.Symphony _node
Результат Brunet.Symphony.StructuredNode

_ongoing защищенное свойство

protected int _ongoing
Результат int

_p2p_address защищенное свойство

protected MemBlock,Brunet.Util _p2p_address
Результат Brunet.Util.MemBlock

_private_dht_key защищенное свойство

protected MemBlock,Brunet.Util _private_dht_key
Результат Brunet.Util.MemBlock

_shared_namespace защищенное свойство

protected string _shared_namespace
Результат string

_steady_state защищенное свойство

protected int _steady_state
Результат int