#include <vector>
#include <omnetpp.h>
#include <NodeHandle.h>
#include "PastryStateObject.h"
#include "PastryTypes.h"
#include "PastryMessage_m.h"
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 RoutingTable. | |
Functions | |
std::ostream & | operator<< (std::ostream &os, const PRTRow &row) |
Stream output operator to make WATCH() do something useful with the routing table. |
typedef std::vector<PastryExtendedNode> PRTRow |
Vector-type of a line in Pastry RoutingTable.
std::ostream& operator<< | ( | std::ostream & | os, | |
const PRTRow & | row | |||
) |
Stream output operator to make WATCH() do something useful with the routing table.
00324 { 00325 os << "Pastry RoutingTable row {" << endl; 00326 for (PRTRow::const_iterator i = row.begin(); i != row.end(); i++) 00327 os << " " << i->node << " ; Ping: " << i->rtt << endl; 00328 os << " }"; 00329 return os; 00330 }