#include <vector>#include <omnetpp.h>#include <NodeHandle.h>#include "PastryStateObject.h"#include "PastryTypes.h"#include "PastryMessage_m.h"Go to the source code of this file.
Classes | |
| struct | PRTTrackRepair |
| Struct for tracking attempts to repair a routing table entry. More... | |
| class | PastryRoutingTable |
| Routing table module. More... | |
Typedefs | |
| typedef std::vector < PastryExtendedNode > | PRTRow |
| Vector-type of a line in Pastry IRoutingTable. | |
Functions | |
| 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.h.
| typedef std::vector<PastryExtendedNode> PRTRow |
| 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