GiaNode.cc File Reference


Detailed Description

Author:
Robert Palmer

#include <OverlayKey.h>
#include "GiaNode.h"

Functions

std::ostream & operator<< (std::ostream &os, const GiaNode &node)


Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const GiaNode node 
)

00068 {
00069     if(node.ip.isUnspecified() == true && node.key.isUnspecified() && node.port == -1) {
00070         os << "<unspec>";
00071     } else {
00072         os << node.ip << ":" << node.port << " "
00073            << node.key.toString() << " with capacity: "
00074            << node.capacity //<< " , degree: " << node.connectionDegree
00075             //<< " , sentTokens: " << node.sentTokens << " , receivedTokens: " << node.receivedTokens;
00076             ;
00077     }
00078     return os;
00079 }


Generated on Thu Apr 17 13:19:27 2008 for ITM OverSim by  doxygen 1.5.3