#include <BootstrapOracle.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] |
00043 { 00044 NodeHandle* nodeHandle = dynamic_cast<NodeHandle*>(entry.node); 00045 00046 os << "Address: " << entry.node->ip 00047 << " Port: " << entry.node->port; 00048 00049 if (nodeHandle) { 00050 os << " NodeId: " << nodeHandle->key; 00051 } 00052 00053 os << " ModuleID: " 00054 << entry.info->getModuleID() << " Bootstrapped: " 00055 << (entry.info->isBootstrapped() ? "true" : "false") << " TypeID: " 00056 << (entry.info->getTypeID()); 00057 00058 return os; 00059 }
Referenced by BootstrapOracle::addPeer(), operator<<(), and BootstrapOracle::registerPeer().
Referenced by BootstrapOracle::addPeer(), operator<<(), and BootstrapOracle::registerPeer().