#include <BootstrapList.h>
Public Member Functions | |
BootstrapList () | |
~BootstrapList () | |
void | insertBootstrapNode (const NodeHandle &node) |
Protected Member Functions | |
virtual CompType | getThisCompType () |
Private Member Functions | |
void | initialize (int stage) |
int | numInitStages () const |
void | finish () |
void | handleMessage (cMessage *msg) |
void | handleBootstrapListTimerExpired () |
Private Attributes | |
BaseOverlay * | overlay |
cMessage * | timerMsg |
Static Private Attributes | |
static const int | timerInterval = 10 |
BootstrapList::BootstrapList | ( | ) |
BootstrapList::~BootstrapList | ( | ) |
void BootstrapList::insertBootstrapNode | ( | const NodeHandle & | node | ) |
virtual CompType BootstrapList::getThisCompType | ( | ) | [inline, protected, virtual] |
void BootstrapList::initialize | ( | int | stage | ) | [private] |
00045 { 00046 if (stage != MAX_STAGE_OVERLAY) { 00047 return; 00048 } 00049 00050 overlay = NULL; 00051 00052 timerMsg = new cMessage("BootstrapListTimer"); 00053 // scheduleAt(simTime() + timerInterval, timerMsg); 00054 }
int BootstrapList::numInitStages | ( | ) | const [private] |
void BootstrapList::handleMessage | ( | cMessage * | msg | ) | [private] |
00057 { 00058 if (msg == timerMsg) { 00059 handleBootstrapListTimerExpired(); 00060 scheduleAt(simTime() + timerInterval, msg); 00061 } else { 00062 throw new cException("BootstrapList::handleMessage(): " 00063 "Received unknown message type!"); 00064 } 00065 }
const int BootstrapList::timerInterval = 10 [static, private] |
BaseOverlay* BootstrapList::overlay [private] |
cMessage* BootstrapList::timerMsg [private] |