|
OverSim
|
#include <InetInfo.h>
Public Member Functions | |
| InetInfo (uint32_t type, int moduleId, cObject **context) | |
| constructor | |
| void | setAccessNetModule (AccessNet *accessNetModule) |
| setter and getter | |
| void | setNodeID (int nodeID) |
| AccessNet * | getAccessNetModule () |
| 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 InetInfo polymorphic | |
Protected Attributes | |
| AccessNet * | accessNetModule |
| int | nodeID |
Definition at line 32 of file InetInfo.h.
| InetInfo::InetInfo | ( | uint32_t | type, |
| int | moduleId, | ||
| cObject ** | context | ||
| ) |
constructor
Definition at line 25 of file InetInfo.cc.
|
protectedvirtual |
dummy-function to make InetInfo polymorphic
Reimplemented from PeerInfo.
Definition at line 30 of file InetInfo.cc.
|
inline |
Definition at line 45 of file InetInfo.h.
Referenced by InetUnderlayConfigurator::handleTimerEvent(), InetUnderlayConfigurator::migrateNode(), and InetUnderlayConfigurator::preKillNode().
|
inline |
Definition at line 46 of file InetInfo.h.
Referenced by InetUnderlayConfigurator::handleTimerEvent(), InetUnderlayConfigurator::migrateNode(), and InetUnderlayConfigurator::preKillNode().
|
inline |
setter and getter
Definition at line 43 of file InetInfo.h.
Referenced by InetUnderlayConfigurator::createNode(), and InetUnderlayConfigurator::migrateNode().
|
inline |
Definition at line 44 of file InetInfo.h.
Referenced by InetUnderlayConfigurator::createNode(), and InetUnderlayConfigurator::migrateNode().
|
protected |
Definition at line 51 of file InetInfo.h.
Referenced by getAccessNetModule(), InetInfo(), and setAccessNetModule().
|
protected |
Definition at line 52 of file InetInfo.h.
Referenced by getNodeID(), and setNodeID().