|
OverSim
|
#include <SimpleInfo.h>
Public Member Functions | |
| SimpleInfo (uint32_t type, int moduleId, cObject **context) | |
| constructor | |
| ~SimpleInfo () | |
| void | setEntry (SimpleNodeEntry *entry) |
| setter and getter | |
| SimpleNodeEntry * | getEntry () |
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 SimpleInfo polymorphic | |
Protected Attributes | |
| SimpleNodeEntry * | entry |
Definition at line 31 of file SimpleInfo.h.
| SimpleInfo::SimpleInfo | ( | uint32_t | type, |
| int | moduleId, | ||
| cObject ** | context | ||
| ) |
| SimpleInfo::~SimpleInfo | ( | ) |
Definition at line 30 of file SimpleInfo.cc.
|
protectedvirtual |
dummy-function to make SimpleInfo polymorphic
Reimplemented from PeerInfo.
Definition at line 35 of file SimpleInfo.cc.
|
inline |
Definition at line 44 of file SimpleInfo.h.
Referenced by Nps::coordsReqRpcResponse(), SimpleUnderlayConfigurator::getLocation(), SimpleUnderlayConfigurator::handleTimerEvent(), Landmark::initializeApp(), SimpleUnderlayConfigurator::migrateNode(), SimpleUnderlayConfigurator::preKillNode(), SimpleUDP::processMsgFromApp(), and SimpleTCPConnection::sendToIP().
|
inline |
setter and getter
Definition at line 43 of file SimpleInfo.h.
Referenced by SimpleUnderlayConfigurator::createNode(), and SimpleUnderlayConfigurator::migrateNode().
|
protected |
Definition at line 49 of file SimpleInfo.h.
Referenced by getEntry(), setEntry(), SimpleInfo(), and ~SimpleInfo().