|
OverSim
|
#include <ReaSEInfo.h>
Public Member Functions | |
| ReaSEInfo (uint32_t type, int moduleId, cObject **context) | |
| constructor | |
| void | setNodeID (int nodeID) |
| setter and getter | |
| int | getNodeID () |
Public Member Functions inherited from PeerInfo | |
| PeerInfo (uint32_t type, int moduleId, cObject **context) | |
| constructor | |
| virtual | ~PeerInfo () |
| int | getModuleID () |
| returns the moduleId of the peer | |
| int8_t | getNpsLayer () |
| returns the NPS layer of the peer | |
| void | setNpsLayer (int8_t layer) |
| set the NPS layer of the peer | |
| uint32_t | getTypeID () |
| returns the type of the node | |
| bool | isPreKilled () |
| is the peer marked for deletion? | |
| void | setPreKilled (bool killed=true) |
| mark that the peer gets deleted soon | |
| bool | isMalicious () |
| is the peer malicious? | |
| cObject ** | getContext () |
Protected Member Functions | |
| void | dummy () |
| dummy-function to make ReaSEInfo polymorphic | |
Protected Attributes | |
| int | nodeID |
Definition at line 31 of file ReaSEInfo.h.
| ReaSEInfo::ReaSEInfo | ( | uint32_t | type, |
| int | moduleId, | ||
| cObject ** | context | ||
| ) |
|
protectedvirtual |
dummy-function to make ReaSEInfo polymorphic
Reimplemented from PeerInfo.
Definition at line 30 of file ReaSEInfo.cc.
|
inline |
Definition at line 43 of file ReaSEInfo.h.
Referenced by ReaSEUnderlayConfigurator::handleTimerEvent(), ReaSEUnderlayConfigurator::migrateNode(), and ReaSEUnderlayConfigurator::preKillNode().
|
inline |
setter and getter
Definition at line 42 of file ReaSEInfo.h.
Referenced by ReaSEUnderlayConfigurator::createNode(), and ReaSEUnderlayConfigurator::migrateNode().
|
protected |
Definition at line 48 of file ReaSEInfo.h.
Referenced by getNodeID(), and setNodeID().