C# Class Brunet.Simulator.RelayOverlapSimulator

Inheritance: Simulator
Show file Open project: pstjuste/brunet Class Usage Examples

Public Methods

Method Description
AddDisconnectedPair ( Address &address1, Address &address2, bool nctunnel ) : void
CloseOverlap ( Node node ) : void
Evaluator ( RelayOverlapSimulator sim ) : void
FindOverlap ( Node node1, Node node2 ) : void
Main ( string args ) : int
RelayOverlapSimulator ( Parameters p ) : System
Run ( RelayOverlapSimulator sim, Address addr1, Address addr2 ) : void
Simulator ( RelayOverlapSimulator sim ) : void

Protected Methods

Method Description
AddBrokenNode ( NodeMapping &nm, Address addr, int broken_port, bool nctunnel ) : void
FindOverlapWorker ( Node node1, Node node2 ) : void

Method Details

AddBrokenNode() protected method

protected AddBrokenNode ( NodeMapping &nm, Address addr, int broken_port, bool nctunnel ) : void
nm NodeMapping
addr Address
broken_port int
nctunnel bool
return void

AddDisconnectedPair() public method

public AddDisconnectedPair ( Address &address1, Address &address2, bool nctunnel ) : void
address1 Address
address2 Address
nctunnel bool
return void

CloseOverlap() public method

public CloseOverlap ( Node node ) : void
node Node
return void

Evaluator() public static method

public static Evaluator ( RelayOverlapSimulator sim ) : void
sim RelayOverlapSimulator
return void

FindOverlap() public method

public FindOverlap ( Node node1, Node node2 ) : void
node1 Node
node2 Node
return void

FindOverlapWorker() protected method

protected FindOverlapWorker ( Node node1, Node node2 ) : void
node1 Node
node2 Node
return void

Main() public static method

public static Main ( string args ) : int
args string
return int

RelayOverlapSimulator() public method

public RelayOverlapSimulator ( Parameters p ) : System
p Parameters
return System

Run() public static method

public static Run ( RelayOverlapSimulator sim, Address addr1, Address addr2 ) : void
sim RelayOverlapSimulator
addr1 Address
addr2 Address
return void

Simulator() public static method

public static Simulator ( RelayOverlapSimulator sim ) : void
sim RelayOverlapSimulator
return void