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]

00034 {
00035     NodeHandle* nodeHandle = dynamic_cast<NodeHandle*>(entry.node);
00036    
00037     os << "Address: " << entry.node->ip
00038        << " Port: " << entry.node->port;
00039 
00040     if (nodeHandle) {
00041         os << " NodeId: " << nodeHandle->key;
00042     }
00043 
00044     os << " ModuleID: "
00045        << entry.info->getModuleID() << " Bootstrapped: "
00046        << (entry.info->isBootstrapped() ? "true" : "false");
00047 
00048     return os;
00049 }


Member Data Documentation

TransportAddress* bootstrapEntry::node

PeerInfo* bootstrapEntry::info


The documentation for this struct was generated from the following file:
Generated on Tue Jul 24 16:51:18 2007 for ITM OverSim by  doxygen 1.5.1