PastryRoutingTable.cc File Reference


Detailed Description

Author:
Felix Palmen

#include "PastryRoutingTable.h"

Functions

 Define_Module (PastryRoutingTable)
std::ostream & operator<< (std::ostream &os, const PRTRow &row)
 Stream output operator to make WATCH() do something useful with the routing table.


Function Documentation

Define_Module ( PastryRoutingTable   ) 

std::ostream& operator<< ( std::ostream &  os,
const PRTRow row 
)

Stream output operator to make WATCH() do something useful with the routing table.

00280 {
00281     os << "Pastry RoutingTable row {" << endl;
00282     for (PRTRow::const_iterator i = row.begin(); i != row.end(); i++)
00283         os << "        " << i->node << " ; Ping: " << i->rtt << endl;
00284     os << "    }";
00285     return os;
00286 }


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