OverSim
|
#include <PastryMessage_m.h>
Public Member Functions | |
PastryStateMessage (const char *name=NULL, int kind=0) | |
PastryStateMessage (const PastryStateMessage &other) | |
virtual | ~PastryStateMessage () |
PastryStateMessage & | operator= (const PastryStateMessage &other) |
virtual PastryStateMessage * | dup () const |
virtual void | parsimPack (cCommBuffer *b) |
virtual void | parsimUnpack (cCommBuffer *b) |
virtual int | getPastryStateMsgType () const |
virtual void | setPastryStateMsgType (int pastryStateMsgType) |
virtual NodeHandle & | getSender () |
virtual const NodeHandle & | getSender () const |
virtual void | setSender (const NodeHandle &sender) |
virtual void | setRoutingTableArraySize (unsigned int size) |
virtual unsigned int | getRoutingTableArraySize () const |
virtual NodeHandle & | getRoutingTable (unsigned int k) |
virtual const NodeHandle & | getRoutingTable (unsigned int k) const |
virtual void | setRoutingTable (unsigned int k, const NodeHandle &routingTable) |
virtual void | setLeafSetArraySize (unsigned int size) |
virtual unsigned int | getLeafSetArraySize () const |
virtual NodeHandle & | getLeafSet (unsigned int k) |
virtual const NodeHandle & | getLeafSet (unsigned int k) const |
virtual void | setLeafSet (unsigned int k, const NodeHandle &leafSet) |
virtual void | setNeighborhoodSetArraySize (unsigned int size) |
virtual unsigned int | getNeighborhoodSetArraySize () const |
virtual NodeHandle & | getNeighborhoodSet (unsigned int k) |
virtual const NodeHandle & | getNeighborhoodSet (unsigned int k) const |
virtual void | setNeighborhoodSet (unsigned int k, const NodeHandle &neighborhoodSet) |
virtual int | getRow () const |
virtual void | setRow (int row) |
virtual bool | getLastHop () const |
virtual void | setLastHop (bool lastHop) |
virtual simtime_t | getTimestamp () const |
virtual void | setTimestamp (simtime_t timestamp) |
Public Member Functions inherited from BaseOverlayMessage | |
BaseOverlayMessage (const char *name=NULL, int kind=0) | |
BaseOverlayMessage (const BaseOverlayMessage &other) | |
virtual | ~BaseOverlayMessage () |
BaseOverlayMessage & | operator= (const BaseOverlayMessage &other) |
virtual int | getType () const |
virtual void | setType (int type) |
virtual int | getStatType () const |
virtual void | setStatType (int statType) |
Public Member Functions inherited from OverSimMessage | |
OverSimMessage (const char *name=NULL, int kind=0) | |
OverSimMessage (const OverSimMessage &other) | |
OverSimMessage & | operator= (const OverSimMessage &other) |
Public Member Functions inherited from OverSimMessage_Base | |
virtual | ~OverSimMessage_Base () |
Protected Member Functions | |
bool | operator== (const PastryStateMessage &) |
Protected Member Functions inherited from BaseOverlayMessage | |
bool | operator== (const BaseOverlayMessage &) |
Protected Attributes | |
int | pastryStateMsgType_var |
NodeHandle | sender_var |
NodeHandle * | routingTable_var |
unsigned int | routingTable_arraysize |
NodeHandle * | leafSet_var |
unsigned int | leafSet_arraysize |
NodeHandle * | neighborhoodSet_var |
unsigned int | neighborhoodSet_arraysize |
int | row_var |
bool | lastHop_var |
simtime_t | timestamp_var |
Protected Attributes inherited from BaseOverlayMessage | |
int | type_var |
int | statType_var |
Private Member Functions | |
void | copy (const PastryStateMessage &other) |
Definition at line 101 of file PastryMessage_m.h.
PastryStateMessage::PastryStateMessage | ( | const char * | name = NULL , |
int | kind = 0 |
||
) |
Referenced by dup().
PastryStateMessage::PastryStateMessage | ( | const PastryStateMessage & | other | ) |
|
virtual |
|
private |
|
inlinevirtual |
|
virtual |
Referenced by Pastry::handleStateMessage().
|
virtual |
|
inlinevirtual |
|
virtual |
|
virtual |
|
inlinevirtual |
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
|
virtual |
|
virtual |
Referenced by Pastry::handleRequestRoutingRowResponse(), Pastry::handleStateMessage(), and stateMsgIsSmaller().
|
virtual |
|
inlinevirtual |
|
virtual |
Referenced by Pastry::endProcessingState(), and Pastry::handleStateMessage().
PastryStateMessage& PastryStateMessage::operator= | ( | const PastryStateMessage & | other | ) |
|
protected |
|
virtual |
Reimplemented from BaseOverlayMessage.
Referenced by doPacking().
|
virtual |
Reimplemented from BaseOverlayMessage.
Referenced by doUnpacking().
|
virtual |
Referenced by BasePastry::createStateMessage().
|
virtual |
|
virtual |
|
virtual |
Referenced by PastryNeighborhoodSet::dumpToStateMessage().
|
virtual |
Referenced by BasePastry::createStateMessage(), and PastryNeighborhoodSet::dumpToStateMessage().
|
virtual |
Referenced by BasePastry::createStateMessage().
|
virtual |
Referenced by PastryRoutingTable::dumpRowToMessage(), and PastryRoutingTable::dumpToStateMessage().
|
virtual |
Referenced by PastryRoutingTable::dumpRowToMessage(), and PastryRoutingTable::dumpToStateMessage().
|
virtual |
Referenced by BasePastry::createStateMessage().
|
virtual |
Referenced by BasePastry::createStateMessage().
|
virtual |
Referenced by BasePastry::createStateMessage().
|
protected |
Definition at line 113 of file PastryMessage_m.h.
|
protected |
Definition at line 109 of file PastryMessage_m.h.
|
protected |
Definition at line 108 of file PastryMessage_m.h.
|
protected |
Definition at line 111 of file PastryMessage_m.h.
|
protected |
Definition at line 110 of file PastryMessage_m.h.
|
protected |
Definition at line 104 of file PastryMessage_m.h.
|
protected |
Definition at line 107 of file PastryMessage_m.h.
|
protected |
Definition at line 106 of file PastryMessage_m.h.
|
protected |
Definition at line 112 of file PastryMessage_m.h.
|
protected |
Definition at line 105 of file PastryMessage_m.h.
|
protected |
Definition at line 114 of file PastryMessage_m.h.