bootstrapEntry Struct Reference

#include <BootstrapOracle.h>

List of all members.


Detailed Description

bootstrapEntry consists of TransportAddress and PeerInfo and is used (together with IPvXAddress) as an entry in the peerSet

Public Attributes

TransportAddressnode
PeerInfoinfo

Friends

std::ostream & operator<< (std::ostream &Stream, const bootstrapEntry entry)

Friends And Related Function Documentation

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 }


Member Data Documentation


The documentation for this struct was generated from the following file:

Generated on Fri Sep 19 13:05:06 2008 for ITM OverSim by  doxygen 1.5.5