#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. |
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.
00261 { 00262 os << "Pastry RoutingTable row {" << endl; 00263 for (PRTRow::const_iterator i = row.begin(); i != row.end(); i++) 00264 os << " " << i->node << " ; Ping: " << i->rtt << endl; 00265 os << " }"; 00266 return os; 00267 }