OverSim
|
Parse a trace file and schedule node joins/leaves according to trace data. More...
#include <TraceChurn.h>
Public Member Functions | |
void | handleMessage (cMessage *msg) |
void | initializeChurn () |
void | createNode (int nodeId) |
void | deleteNode (int nodeId) |
cGate * | getAppGateById (int nodeId) |
TransportAddress * | getTransportAddressById (int nodeId) |
Public Member Functions inherited from ChurnGenerator | |
virtual int | numInitStages () const |
virtual void | initialize (int stage) |
void | setNodeType (const NodeType &t) |
const NodeType & | getNodeType () |
Protected Member Functions | |
void | updateDisplayString () |
Private Types | |
typedef std::pair < TransportAddress *, cGate * > | nodeMapEntry |
Private Attributes | |
char * | maxTier |
bool | initAddMoreTerminals |
true, if we're still adding more terminals in the init phase | |
cMessage * | nextRead |
UNORDERED_MAP< int, nodeMapEntry * > | nodeMap |
Additional Inherited Members | |
Public Attributes inherited from ChurnGenerator | |
bool | init |
still in initialization phase? | |
int | terminalCount |
current number of overlay terminals | |
Protected Attributes inherited from ChurnGenerator | |
UnderlayConfigurator * | underlayConfigurator |
int | targetOverlayTerminalNum |
final number of overlay terminals | |
NodeType | type |
the nodeType this generator is responsible for |
Parse a trace file and schedule node joins/leaves according to trace data.
If trace includes user action, send actions to application
Definition at line 36 of file TraceChurn.h.
|
private |
Definition at line 54 of file TraceChurn.h.
void TraceChurn::createNode | ( | int | nodeId | ) |
Definition at line 53 of file TraceChurn.cc.
void TraceChurn::deleteNode | ( | int | nodeId | ) |
Definition at line 68 of file TraceChurn.cc.
cGate * TraceChurn::getAppGateById | ( | int | nodeId | ) |
Definition at line 96 of file TraceChurn.cc.
TransportAddress * TraceChurn::getTransportAddressById | ( | int | nodeId | ) |
Definition at line 86 of file TraceChurn.cc.
|
virtual |
|
virtual |
Implements ChurnGenerator.
Definition at line 33 of file TraceChurn.cc.
|
protectedvirtual |
Implements ChurnGenerator.
Definition at line 106 of file TraceChurn.cc.
|
private |
true, if we're still adding more terminals in the init phase
Definition at line 52 of file TraceChurn.h.
|
private |
Definition at line 50 of file TraceChurn.h.
|
private |
Definition at line 53 of file TraceChurn.h.
|
private |
Definition at line 55 of file TraceChurn.h.