BootstrapList.cc File Reference

#include <BaseApp.h>
#include <BootstrapList.h>
#include <GlobalNodeList.h>
#include <BaseOverlay.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 40 of file BootstrapList.cc.

00041 {
00042     if (n == NULL) {
00043         os << "<NULL>";
00044         return os;
00045     }
00046 
00047     if (n->isUnspecified()) {
00048         os << "<unspec>";
00049     } else {
00050         os << n->getAddress() << ":" << n->getPort() << " " << n->getKey()
00051            << " last ping:" <<  n->getLastPing()
00052            << " prio:" << n->getNodePrio();
00053     }
00054 
00055     return os;
00056 };

Generated on Wed May 26 16:21:15 2010 for OverSim by  doxygen 1.6.3