#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) |
Definition in file GlobalNodeList.cc.
Define_Module | ( | GlobalNodeList | ) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const BootstrapEntry | entry | |||
) |
Definition at line 41 of file GlobalNodeList.cc.
{ NodeHandle* nodeHandle = dynamic_cast<NodeHandle*>(entry.node); os << "Address: " << entry.node->getIp() << " Port: " << entry.node->getPort(); if (nodeHandle) { os << " NodeId: " << nodeHandle->getKey(); } os << " ModuleID: " << entry.info->getModuleID() << " Bootstrapped: " << (entry.info->isBootstrapped() ? "true" : "false") << " NPS Layer: " << ((int) entry.info->getNpsLayer()) << " TypeID: " << (entry.info->getTypeID()); return os; }