OverSim
|
#include <vector>
#include <map>
#include <queue>
#include <algorithm>
#include <omnetpp.h>
#include <IPvXAddress.h>
#include <OverlayKey.h>
#include <NodeHandle.h>
#include <BaseOverlay.h>
#include <NeighborCache.h>
#include "PastryTypes.h"
#include "PastryMessage_m.h"
#include "PastryRoutingTable.h"
#include "PastryLeafSet.h"
#include "PastryNeighborhoodSet.h"
Go to the source code of this file.
Classes | |
class | BasePastry |
struct | BasePastry::PingContext |
Functions | |
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) |
Definition in file BasePastry.h.
std::ostream& operator<< | ( | std::ostream & | os, |
const PastryStateMsgProximity & | pr | ||
) |
Definition at line 1077 of file BasePastry.cc.
bool stateMsgIsSmaller | ( | const PastryStateMsgHandle & | hnd1, |
const PastryStateMsgHandle & | hnd2 | ||
) |
predicate for comparing two pointers to PastryStateMessages based on their joinHopCount.
Needed for sorting the received PastryStateMessages.
Definition at line 1049 of file BasePastry.cc.
Referenced by Pastry::handleStateMessage(), and Pastry::handleTimerEvent().