C# 클래스 Brunet.Services.Dht.DhtDiscovery

Use another nodes Dht to exchange SubringTransportAddresses.
상속: Brunet.Transport.Discovery
파일 보기 프로젝트 열기: pstjuste/brunet 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_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