OverSim
BootstrapList.cc File Reference
#include <BaseApp.h>
#include <BootstrapList.h>
#include <GlobalNodeList.h>
#include <BaseOverlay.h>
#include <NeighborCache.h>
#include <UnderlayConfiguratorAccess.h>
#include <ZeroconfConnector.h>
#include <CommonMessages_m.h>
#include <hashWatch.h>
#include <fstream>
#include <iostream>

Go to the source code of this file.

Functions

 Define_Module (BootstrapList)
std::ostream & operator<< (std::ostream &os, const BootstrapNodeHandle *n)

Detailed Description

Author
Bin Zheng, Ingmar Baumgart

Definition in file BootstrapList.cc.

Function Documentation

Define_Module ( BootstrapList  )
std::ostream& operator<< ( std::ostream &  os,
const BootstrapNodeHandle n 
)

Definition at line 41 of file BootstrapList.cc.

{
if (n == NULL) {
os << "<NULL>";
return os;
}
if (n->isUnspecified()) {
os << "<unspec>";
} else {
os << n->getIp() << ":" << n->getPort() << " " << n->getKey()
<< " last ping:" << n->getLastPing()
<< " prio:" << n->getNodePrio();
}
return os;
};