#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 |
Vector-type of a line in Pastry IRoutingTable.
Definition at line 40 of file PastryRoutingTable.h.
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 360 of file PastryRoutingTable.cc.
{ os << "Pastry IRoutingTable row {" << endl; for (PRTRow::const_iterator i = row.begin(); i != row.end(); i++) { os << " " << i->node << " ; Ping: "; if (i->rtt != SimTime::getMaxTime()) os << i->rtt << endl; else os << "<unknown>" << endl; } os << " }"; return os; }