#include "PastryRoutingTable.h"Go to the source code of this file.
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. | |
Definition in file PastryRoutingTable.cc.
| 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.
Definition at line 354 of file PastryRoutingTable.cc.
00355 { 00356 os << "Pastry IRoutingTable row {" << endl; 00357 for (PRTRow::const_iterator i = row.begin(); i != row.end(); i++) { 00358 os << " " << i->node << " ; Ping: "; 00359 if (i->rtt != SimTime::getMaxTime()) 00360 os << i->rtt << endl; 00361 else os << "<unknown>" << endl; 00362 } 00363 os << " }"; 00364 return os; 00365 }
1.5.8