|
OverSim
|
#include <ConnectReaSE.h>
Public Member Functions | |
| virtual int | addOverlayNode (AccessInfo *overlayNode, bool migrate=false) |
| Gathers some information about the terminal and appends it to the overlay terminal vector. | |
| virtual AccessInfo | getAccessNode () |
| Getter for router module. | |
| virtual cModule * | removeOverlayNode (int ID) |
| Removes a node from the network. | |
| virtual cModule * | getOverlayNode (int ID) |
| searches overlayTerminal[] for a given node | |
| virtual AccessInfo | migrateNode (int ID) |
Protected Member Functions | |
| virtual int | numInitStages () const |
| OMNeT number of init stages. | |
| virtual void | initialize (int stage) |
| Gather some information about the router node. | |
| virtual void | handleMessage (cMessage *msg) |
| OMNeT handleMessage method. | |
| virtual void | updateDisplayString () |
| Displays the current number of terminals connected to the network. | |
Protected Attributes | |
| std::vector< std::string > | channelTypesRx |
| vector of possible access channels (rx) | |
| std::vector< std::string > | channelTypesTx |
| vector of possible access channels (tx) | |
| std::vector< terminalInfo > | overlayTerminal |
| the terminals at this access router | |
| cOutVector | lifetimeVector |
| vector of node lifetimes | |
| std::vector< autoSystem > | AS_Pool |
| std::vector< edgePool > | globalEdgePool |
| uint32 | totalCountOfAS |
| uint32 | nextPow |
| uint32 | ASShift |
| double | channelDiversity |
Private Member Functions | |
| cGate * | firstUnusedGate (cModule *owner, const char *name, cGate::Type type=cGate::NONE) |
| Returns a module's fist unconnected gate. | |
| void | setUpAS (cModule *currAS) |
| Gathers all needed edge router information of a specified autonomous system. | |
Static Private Member Functions | |
| static bool | extractFromParentModule (cModule *currModule, void *properties) |
| Finds submodules with special properties. | |
Definition at line 106 of file ConnectReaSE.h.
|
virtual |
Gathers some information about the terminal and appends it to the overlay terminal vector.
Definition at line 194 of file ConnectReaSE.cc.
Referenced by ReaSEUnderlayConfigurator::createNode(), and ReaSEUnderlayConfigurator::migrateNode().
|
staticprivate |
Finds submodules with special properties.
| currModule | currently tested module |
| properties | pointer to topologyProperty (parent module and special property) |
Definition at line 497 of file ConnectReaSE.cc.
Referenced by setUpAS().
|
private |
Returns a module's fist unconnected gate.
| owner | gate owner module |
| name | name of the gate vector |
| type | gate type (input or output) |
Definition at line 483 of file ConnectReaSE.cc.
Referenced by addOverlayNode().
|
virtual |
Getter for router module.
Definition at line 137 of file ConnectReaSE.cc.
Referenced by ReaSEUnderlayConfigurator::createNode(), and migrateNode().
|
virtual |
searches overlayTerminal[] for a given node
| ID | position of the node in overlayTerminal |
Definition at line 419 of file ConnectReaSE.cc.
Referenced by ReaSEUnderlayConfigurator::preKillNode().
|
protectedvirtual |
OMNeT handleMessage method.
| msg | the message to handle |
Definition at line 460 of file ConnectReaSE.cc.
|
protectedvirtual |
Gather some information about the router node.
Definition at line 47 of file ConnectReaSE.cc.
|
virtual |
Definition at line 435 of file ConnectReaSE.cc.
Referenced by ReaSEUnderlayConfigurator::migrateNode().
|
inlineprotectedvirtual |
OMNeT number of init stages.
Definition at line 144 of file ConnectReaSE.h.
|
virtual |
Removes a node from the network.
Definition at line 350 of file ConnectReaSE.cc.
Referenced by ReaSEUnderlayConfigurator::handleTimerEvent(), and ReaSEUnderlayConfigurator::migrateNode().
|
private |
Gathers all needed edge router information of a specified autonomous system.
This method gathers all edge routers, their IPs and the IPs of all connected hosts.
| currAS | AS module |
Definition at line 509 of file ConnectReaSE.cc.
Referenced by initialize().
|
protectedvirtual |
Displays the current number of terminals connected to the network.
Definition at line 465 of file ConnectReaSE.cc.
Referenced by addOverlayNode(), and removeOverlayNode().
|
protected |
Definition at line 176 of file ConnectReaSE.h.
Referenced by getAccessNode(), initialize(), migrateNode(), and setUpAS().
|
protected |
Definition at line 178 of file ConnectReaSE.h.
Referenced by initialize(), and setUpAS().
|
protected |
Definition at line 179 of file ConnectReaSE.h.
Referenced by addOverlayNode(), and initialize().
|
protected |
vector of possible access channels (rx)
Definition at line 166 of file ConnectReaSE.h.
Referenced by initialize().
|
protected |
vector of possible access channels (tx)
Definition at line 168 of file ConnectReaSE.h.
Referenced by initialize().
|
protected |
Definition at line 177 of file ConnectReaSE.h.
Referenced by getAccessNode(), and initialize().
|
protected |
vector of node lifetimes
Definition at line 174 of file ConnectReaSE.h.
Referenced by initialize(), and removeOverlayNode().
|
protected |
Definition at line 178 of file ConnectReaSE.h.
Referenced by initialize(), and setUpAS().
|
protected |
the terminals at this access router
Definition at line 171 of file ConnectReaSE.h.
Referenced by addOverlayNode(), getOverlayNode(), migrateNode(), removeOverlayNode(), and updateDisplayString().
|
protected |
Definition at line 178 of file ConnectReaSE.h.
Referenced by initialize().