BootstrapList.cc File Reference


Detailed Description

Author:
Bin Zheng, Ingmar Baumgart

#include <BaseApp.h>
#include <BootstrapList.h>
#include <BootstrapOracle.h>
#include <BaseOverlay.h>
#include <UnderlayConfiguratorAccess.h>
#include <ZeroConfigurator.h>
#include <CommonMessages_m.h>
#include <hashWatch.h>
#include <fstream>
#include <iostream>

Functions

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


Function Documentation

Define_Module ( BootstrapList   ) 

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

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->ip << ":" << n->port << " " << n->key
00051            << " last ping:" <<  n->getLastPing()
00052            << " prio:" << n->getNodePrio();
00053     }
00054 
00055     return os;
00056 };


Generated on Fri Sep 19 13:05:05 2008 for ITM OverSim by  doxygen 1.5.5