Property | Type | Description | |
---|---|---|---|
BrunetNamespace | string | ||
CurrentNetworkSize | int | ||
NCEnable | bool | ||
Nodes | NodeMapping>.SortedList | ||
SimBroadcastHandler | |||
SimBroadcastPType | |||
StartingNetworkSize | int | ||
TakenIDs | NodeMapping>.SortedList |
Property | Type | Description | |
---|---|---|---|
_broken | double | ||
_ca_cert | |||
_dtls | bool | ||
_parameters | |||
_pathing | bool | ||
_rand | |||
_se_key | |||
_secure_edges | bool | ||
_secure_senders | bool | ||
_start | bool |
Method | Description | |
---|---|---|
AddNode ( ) : Node |
Add a new (random) node to the simulation.
|
|
AddNode ( int id, |
Add a new specific node to the simulation.
|
|
AreConnected ( Node node0, Node node1 ) : bool | ||
CheckRing ( bool log ) : bool |
Performs a crawl of the network using the ConnectionTable of each node.
|
|
Complete ( bool quiet ) : bool | ||
Disconnect ( ) : void |
Disconnects all the nodes in the simulator.
|
|
FindMissing ( bool log ) : List |
Returns a list of missing nodes, while crawling the simulation. This is an example of a PassiveTask.
|
|
PrintConnectionState ( ) : void | ||
PrintConnections ( ) : void |
Prints all the connections for the nodes in the simulator.
|
|
PrintConnections ( Node node ) : void | ||
RandomNode ( ) : |
||
RemoveNode ( Node node, bool cleanly, bool output ) : void | ||
RemoveNode ( bool cleanly, bool output ) : void | ||
Revoke ( bool log ) : |
Revoke a random node from a random node.
|
|
Simulator ( |
Method | Description | |
---|---|---|
CreateEdgeListener ( int id ) : |
Return the SimulationEdgeListener.
|
|
GenerateAddress ( ) : |
Generate a new unique address, there is potential for collissions when we make the address space small.
|
|
GetRemoteTAs ( ) : List |
Return a small list of random TAs.
|
|
PrepareNode ( int id, |
||
Simulator ( |
||
Start ( ) : void | ||
TakeID ( ) : int |
Remove and return the next ID from availability.
|
public AddNode ( int id, |
||
id | int | |
address | ||
return | Node |
static public AreConnected ( Node node0, Node node1 ) : bool | ||
node0 | Node | |
node1 | Node | |
return | bool |
protected CreateEdgeListener ( int id ) : |
||
id | int | |
return |
protected GenerateAddress ( ) : |
||
return |
protected PrepareNode ( int id, |
||
id | int | |
address | ||
return |
public RemoveNode ( Node node, bool cleanly, bool output ) : void | ||
node | Node | |
cleanly | bool | |
output | bool | |
return | void |
public RemoveNode ( bool cleanly, bool output ) : void | ||
cleanly | bool | |
output | bool | |
return | void |
public Simulator ( |
||
parameters | ||
return | System |
protected Simulator ( |
||
parameters | ||
start | bool | |
return | System |
public SimpleFilter,Brunet.Messaging SimBroadcastHandler | ||
return |
public static PType,Brunet.Util SimBroadcastPType | ||
return |
protected Certificate,Brunet.Security _ca_cert | ||
return |
protected Parameters,Brunet.Simulator _parameters | ||
return |
protected RSACryptoServiceProvider,System.Security.Cryptography _se_key | ||
return |