OverSim
PastryTypes.h File Reference
#include <map>
#include <limits>
#include <OverlayKey.h>
#include <NodeHandle.h>
#include "PastryMessage_m.h"

Go to the source code of this file.

Classes

struct  PastryStateMsgProximity
 struct-type for temporary proximity metrics to a STATE message More...
struct  PastryStateMsgHandle
 struct-type containing local info while processing a STATE message More...
struct  PastryExtendedNode
 struct for storing a NodeHandle together with its proximity value and an optional timestamp More...

Macros

#define PASTRY_PROX_INFINITE   -1
 value for infinite proximity (ping timeout):
#define PASTRY_PROX_UNDEF   -2
 value for undefined proximity:
#define PASTRY_PROX_PENDING   -3
 value for not yet determined proximity value:

Detailed Description

Author
Felix Palmen

This file contains some structs and typedefs used internally by Pastry

Definition in file PastryTypes.h.

Macro Definition Documentation

#define PASTRY_PROX_INFINITE   -1

value for infinite proximity (ping timeout):

Definition at line 40 of file PastryTypes.h.

Referenced by BasePastry::determineAliveTable(), BasePastry::pingNodes(), and BasePastry::proxCallback().

#define PASTRY_PROX_PENDING   -3

value for not yet determined proximity value:

Definition at line 50 of file PastryTypes.h.

Referenced by Bamboo::checkProxCache(), Pastry::checkProxCache(), and BasePastry::pingNodes().

#define PASTRY_PROX_UNDEF   -2

value for undefined proximity:

Definition at line 45 of file PastryTypes.h.

Referenced by BasePastry::determineAliveTable(), PastryRoutingTable::failedNode(), and BasePastry::pingNodes().