#include <IPAddressResolver.h>
#include <IPvXAddress.h>
#include <InterfaceTable.h>
#include <IPv4InterfaceData.h>
#include <RpcMacros.h>
#include <InitStages.h>
#include <SimpleNetConfigurator.h>
#include "Pastry.h"
Functions | |
Define_Module (Pastry) | |
bool | stateMsgIsSmaller (const PastryStateMsgHandle &hnd1, const PastryStateMsgHandle &hnd2) |
predicate for comparing two pointers to PastryStateMessages based on their joinHopCount. | |
std::ostream & | operator<< (std::ostream &os, const PastryStateMsgProximity pr) |
Define_Module | ( | Pastry | ) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const PastryStateMsgProximity | pr | |||
) |
01650 { 01651 os << "PastryStateMsgProximity {" << endl; 01652 os << " pr_rt {" << endl; 01653 for (std::vector<simtime_t>::const_iterator i = pr.pr_rt.begin(); 01654 i != pr.pr_rt.end(); ++i) { 01655 os << " " << *i << endl; 01656 } 01657 os << " }" << endl; 01658 os << " pr_ls {" << endl; 01659 for (std::vector<simtime_t>::const_iterator i = pr.pr_ls.begin(); 01660 i != pr.pr_ls.end(); ++i) { 01661 os << " " << *i << endl; 01662 } 01663 os << " }" << endl; 01664 os << " pr_ns {" << endl; 01665 for (std::vector<simtime_t>::const_iterator i = pr.pr_ns.begin(); 01666 i != pr.pr_ns.end(); ++i) { 01667 os << " " << *i << endl; 01668 } 01669 os << " }" << endl; 01670 os << "}" << endl; 01671 return os; 01672 }
bool stateMsgIsSmaller | ( | const PastryStateMsgHandle & | hnd1, | |
const PastryStateMsgHandle & | hnd2 | |||
) |