OverSim
ReaSEInfo Class Reference

#include <ReaSEInfo.h>

Inheritance diagram for ReaSEInfo:
PeerInfo

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

Detailed Description

Definition at line 31 of file ReaSEInfo.h.

Constructor & Destructor Documentation

ReaSEInfo::ReaSEInfo ( uint32_t  type,
int  moduleId,
cObject **  context 
)

constructor

Definition at line 26 of file ReaSEInfo.cc.

Member Function Documentation

void ReaSEInfo::dummy ( )
protectedvirtual

dummy-function to make ReaSEInfo polymorphic

Reimplemented from PeerInfo.

Definition at line 30 of file ReaSEInfo.cc.

{
}
int ReaSEInfo::getNodeID ( )
inline
void ReaSEInfo::setNodeID ( int  nodeID)
inline

setter and getter

Definition at line 42 of file ReaSEInfo.h.

Referenced by ReaSEUnderlayConfigurator::createNode(), and ReaSEUnderlayConfigurator::migrateNode().

{ this->nodeID = nodeID; };

Member Data Documentation

int ReaSEInfo::nodeID
protected

Definition at line 48 of file ReaSEInfo.h.

Referenced by getNodeID(), and setNodeID().


The documentation for this class was generated from the following files: