#include <GlobalNodeList.h>
Definition at line 50 of file GlobalNodeList.h.
Public Attributes | |
| TransportAddress * | node |
| PeerInfo * | info |
Friends | |
| std::ostream & | operator<< (std::ostream &Stream, const bootstrapEntry entry) |
| 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->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 }
Definition at line 52 of file GlobalNodeList.h.
Referenced by GlobalNodeList::addPeer(), operator<<(), and GlobalNodeList::registerPeer().
Definition at line 53 of file GlobalNodeList.h.
Referenced by GlobalNodeList::addPeer(), operator<<(), and GlobalNodeList::registerPeer().
1.5.5