bootstrapEntry consists of TransportAddress and PeerInfo and is used (together with IPvXAddress) as an entry in the peerSet More...
#include <GlobalNodeList.h>
Public Attributes | |
TransportAddress * | node |
PeerInfo * | info |
Friends | |
std::ostream & | operator<< (std::ostream &Stream, const bootstrapEntry entry) |
bootstrapEntry consists of TransportAddress and PeerInfo and is used (together with IPvXAddress) as an entry in the peerSet
Definition at line 50 of file GlobalNodeList.h.
std::ostream& operator<< | ( | std::ostream & | Stream, | |
const bootstrapEntry | entry | |||
) | [friend] |
Definition at line 41 of file GlobalNodeList.cc.
00042 { 00043 NodeHandle* nodeHandle = dynamic_cast<NodeHandle*>(entry.node); 00044 00045 os << "Address: " << entry.node->getAddress() 00046 << " Port: " << entry.node->getPort(); 00047 00048 if (nodeHandle) { 00049 os << " NodeId: " << nodeHandle->getKey(); 00050 } 00051 00052 os << " ModuleID: " 00053 << entry.info->getModuleID() << " Bootstrapped: " 00054 << (entry.info->isBootstrapped() ? "true" : "false") 00055 << " NPS Layer: " << ((int) entry.info->getNpsLayer()) 00056 << " TypeID: " << (entry.info->getTypeID()); 00057 00058 return os; 00059 }
Definition at line 53 of file GlobalNodeList.h.
Referenced by GlobalNodeList::addPeer(), operator<<(), GlobalNodeList::refreshEntry(), and GlobalNodeList::registerPeer().
Definition at line 52 of file GlobalNodeList.h.
Referenced by GlobalNodeList::addPeer(), operator<<(), GlobalNodeList::refreshEntry(), and GlobalNodeList::registerPeer().