C# Class Brunet.Simulator.Tasks.Crawl

Helps performing a live crawl on the Simulator
Inheritance: Task
Show file Open project: pstjuste/brunet

Public Properties

Property Type Description
Bso Brunet.Security.PeerSec.Symphony.SymphonySecurityOverlord
Expected int
Node Node

Protected Properties

Property Type Description
_consistency int
_crawled System.Collections.Hashtable
_first_left Address
_previous Address

Public Methods

Method Description
Crawl ( Node node, int expected, SymphonySecurityOverlord bso, EventHandler finished ) : Brunet.Concurrent
Start ( ) : void
ToString ( ) : string

Protected Methods

Method Description
CrawlHandler ( object o, EventArgs ea ) : void

Handles the result of a crawl query.

CrawlNext ( Address addr ) : void

Attempts to crawl the next address.

Method Details

Crawl() public method

public Crawl ( Node node, int expected, SymphonySecurityOverlord bso, EventHandler finished ) : Brunet.Concurrent
node Node
expected int
bso Brunet.Security.PeerSec.Symphony.SymphonySecurityOverlord
finished EventHandler
return Brunet.Concurrent

CrawlHandler() protected method

Handles the result of a crawl query.
protected CrawlHandler ( object o, EventArgs ea ) : void
o object
ea System.EventArgs
return void

CrawlNext() protected method

Attempts to crawl the next address.
protected CrawlNext ( Address addr ) : void
addr Address
return void

Start() public method

public Start ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

Bso public property

public SymphonySecurityOverlord,Brunet.Security.PeerSec.Symphony Bso
return Brunet.Security.PeerSec.Symphony.SymphonySecurityOverlord

Expected public property

public int Expected
return int

Node public property

public Node Node
return Node

_consistency protected property

protected int _consistency
return int

_crawled protected property

protected Hashtable,System.Collections _crawled
return System.Collections.Hashtable

_first_left protected property

protected Address _first_left
return Address

_previous protected property

protected Address _previous
return Address