Definition in file GlobalNodeList.cc.
#include <iostream>
#include <omnetpp.h>
#include <NotificationBoard.h>
#include <BinaryValue.h>
#include <OverlayKey.h>
#include <PeerInfo.h>
#include <BaseOverlay.h>
#include <GlobalStatisticsAccess.h>
#include <hashWatch.h>
#include <BootstrapList.h>
#include "GlobalNodeList.h"
Go to the source code of this file.
Functions | |
| Define_Module (GlobalNodeList) | |
| std::ostream & | operator<< (std::ostream &os, const bootstrapEntry entry) |
| Define_Module | ( | GlobalNodeList | ) |
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const bootstrapEntry | entry | |||
| ) |
Definition at line 41 of file GlobalNodeList.cc.
00042 { 00043 NodeHandle* nodeHandle = dynamic_cast<NodeHandle*>(entry.node); 00044 00045 os << "Address: " << entry.node->ip 00046 << " Port: " << entry.node->port; 00047 00048 if (nodeHandle) { 00049 os << " NodeId: " << nodeHandle->key; 00050 } 00051 00052 os << " ModuleID: " 00053 << entry.info->getModuleID() << " Bootstrapped: " 00054 << (entry.info->isBootstrapped() ? "true" : "false") << " TypeID: " 00055 << (entry.info->getTypeID()); 00056 00057 return os; 00058 }
1.5.5