OverSim
PastryStateMsgHandle Struct Reference

struct-type containing local info while processing a STATE message More...

#include <PastryTypes.h>

Public Member Functions

 PastryStateMsgHandle ()
 PastryStateMsgHandle (PastryStateMessage *msg)

Public Attributes

PastryStateMessagemsg
PastryStateMsgProximityprox
bool outdatedUpdate
uint32_t nonce

Detailed Description

struct-type containing local info while processing a STATE message

Definition at line 65 of file PastryTypes.h.

Constructor & Destructor Documentation

PastryStateMsgHandle::PastryStateMsgHandle ( )
inline

Definition at line 72 of file PastryTypes.h.

: msg(NULL), prox(NULL), outdatedUpdate(false) {};
PastryStateMsgHandle::PastryStateMsgHandle ( PastryStateMessage msg)
inline

Definition at line 73 of file PastryTypes.h.

: msg(msg), prox(NULL), outdatedUpdate(false)
{
nonce = intuniform(0, std::numeric_limits<uint32_t>::max()); //0x7FFFFF ???
};

Member Data Documentation

uint32_t PastryStateMsgHandle::nonce
bool PastryStateMsgHandle::outdatedUpdate

Definition at line 69 of file PastryTypes.h.

Referenced by Pastry::checkProxCache(), and Pastry::handleStateMessage().


The documentation for this struct was generated from the following file: