프로퍼티 | 타입 | 설명 | |
---|---|---|---|
BrunetNamespace | string | ||
CurrentNetworkSize | int | ||
NCEnable | bool | ||
Nodes | NodeMapping>.SortedList | ||
SimBroadcastHandler | |||
SimBroadcastPType | |||
StartingNetworkSize | int | ||
TakenIDs | NodeMapping>.SortedList |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
_broken | double | ||
_ca_cert | |||
_dtls | bool | ||
_parameters | |||
_pathing | bool | ||
_rand | |||
_se_key | |||
_secure_edges | bool | ||
_secure_senders | bool | ||
_start | bool |
메소드 | 설명 | |
---|---|---|
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 ( |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | Node |
static public AreConnected ( Node node0, Node node1 ) : bool | ||
node0 | Node | |
node1 | Node | |
리턴 | bool |
protected CreateEdgeListener ( int id ) : |
||
id | int | |
리턴 |
protected PrepareNode ( int id, |
||
id | int | |
address | ||
리턴 |
public RemoveNode ( Node node, bool cleanly, bool output ) : void | ||
node | Node | |
cleanly | bool | |
output | bool | |
리턴 | void |
public RemoveNode ( bool cleanly, bool output ) : void | ||
cleanly | bool | |
output | bool | |
리턴 | void |
public Simulator ( |
||
parameters | ||
리턴 | System |
protected Simulator ( |
||
parameters | ||
start | bool | |
리턴 | System |
public SimpleFilter,Brunet.Messaging SimBroadcastHandler | ||
리턴 |
public static PType,Brunet.Util SimBroadcastPType | ||
리턴 |
protected RSACryptoServiceProvider,System.Security.Cryptography _se_key | ||
리턴 |