PastryTypes.h File Reference

#include <map>
#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...

Defines

#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.


Define Documentation

#define PASTRY_PROX_INFINITE   -1

value for infinite proximity (ping timeout):

Definition at line 38 of file PastryTypes.h.

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

#define PASTRY_PROX_PENDING   -3

value for not yet determined proximity value:

Definition at line 48 of file PastryTypes.h.

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

#define PASTRY_PROX_UNDEF   -2

value for undefined proximity:

Definition at line 43 of file PastryTypes.h.

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

Generated on Wed May 26 16:21:15 2010 for OverSim by  doxygen 1.6.3