overlay/pastry/PastryMessage.msg by opp_msgc.
More...
#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_var) |
| virtual NodeHandle & | getSender () |
| virtual const NodeHandle & | getSender () const |
| virtual void | setSender (const NodeHandle &sender_var) |
| 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_var) |
| 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_var) |
| 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_var) |
| virtual int | getJoinHopCount () const |
| virtual void | setJoinHopCount (int joinHopCount_var) |
| virtual bool | getLastHop () const |
| virtual void | setLastHop (bool lastHop_var) |
| virtual simtime_t | getTimestamp () const |
| virtual void | setTimestamp (simtime_t timestamp_var) |
Protected Member Functions | |
| bool | operator== (const PastryStateMessage &) |
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 | joinHopCount_var |
| bool | lastHop_var |
| simtime_t | timestamp_var |
overlay/pastry/PastryMessage.msg by opp_msgc.
packet PastryStateMessage extends PastryMessage { int pastryStateMsgType = PASTRY_STATE_STD; NodeHandle sender = NodeHandle::UNSPECIFIED_NODE; NodeHandle routingTable[]; NodeHandle leafSet[]; NodeHandle neighborhoodSet[]; int joinHopCount = 0; bool lastHop = false; simtime_t timestamp; }
Definition at line 196 of file PastryMessage_m.h.
| PastryStateMessage::PastryStateMessage | ( | const char * | name = NULL, |
|
| int | kind = 0 | |||
| ) |
Referenced by dup().
| PastryStateMessage::PastryStateMessage | ( | const PastryStateMessage & | other | ) |
| virtual PastryStateMessage::~PastryStateMessage | ( | ) | [virtual] |
| virtual PastryStateMessage* PastryStateMessage::dup | ( | ) | const [inline, virtual] |
Reimplemented from PastryMessage.
Definition at line 219 of file PastryMessage_m.h.
00219 {return new PastryStateMessage(*this);}
| virtual int PastryStateMessage::getJoinHopCount | ( | ) | const [virtual] |
Referenced by Pastry::handleStateMessage(), and stateMsgIsSmaller().
| virtual bool PastryStateMessage::getLastHop | ( | ) | const [virtual] |
Referenced by Pastry::handleStateMessage().
| virtual const NodeHandle& PastryStateMessage::getLeafSet | ( | unsigned int | k | ) | const [inline, virtual] |
Definition at line 237 of file PastryMessage_m.h.
Referenced by getLeafSet().
00237 {return const_cast<PastryStateMessage*>(this)->getLeafSet(k);}
| virtual NodeHandle& PastryStateMessage::getLeafSet | ( | unsigned int | k | ) | [virtual] |
| virtual unsigned int PastryStateMessage::getLeafSetArraySize | ( | ) | const [virtual] |
| virtual const NodeHandle& PastryStateMessage::getNeighborhoodSet | ( | unsigned int | k | ) | const [inline, virtual] |
Definition at line 242 of file PastryMessage_m.h.
Referenced by getNeighborhoodSet().
00242 {return const_cast<PastryStateMessage*>(this)->getNeighborhoodSet(k);}
| virtual NodeHandle& PastryStateMessage::getNeighborhoodSet | ( | unsigned int | k | ) | [virtual] |
| virtual unsigned int PastryStateMessage::getNeighborhoodSetArraySize | ( | ) | const [virtual] |
| virtual int PastryStateMessage::getPastryStateMsgType | ( | ) | const [virtual] |
| virtual const NodeHandle& PastryStateMessage::getRoutingTable | ( | unsigned int | k | ) | const [inline, virtual] |
Definition at line 232 of file PastryMessage_m.h.
Referenced by getRoutingTable().
00232 {return const_cast<PastryStateMessage*>(this)->getRoutingTable(k);}
| virtual NodeHandle& PastryStateMessage::getRoutingTable | ( | unsigned int | k | ) | [virtual] |
| virtual unsigned int PastryStateMessage::getRoutingTableArraySize | ( | ) | const [virtual] |
| virtual const NodeHandle& PastryStateMessage::getSender | ( | ) | const [inline, virtual] |
Definition at line 227 of file PastryMessage_m.h.
Referenced by getSender().
00227 {return const_cast<PastryStateMessage*>(this)->getSender();}
| virtual NodeHandle& PastryStateMessage::getSender | ( | ) | [virtual] |
| virtual simtime_t PastryStateMessage::getTimestamp | ( | ) | const [virtual] |
Referenced by Pastry::endProcessingState(), and Pastry::handleStateMessage().
| PastryStateMessage& PastryStateMessage::operator= | ( | const PastryStateMessage & | other | ) |
| bool PastryStateMessage::operator== | ( | const PastryStateMessage & | ) | [protected] |
| virtual void PastryStateMessage::parsimPack | ( | cCommBuffer * | b | ) | [virtual] |
| virtual void PastryStateMessage::parsimUnpack | ( | cCommBuffer * | b | ) | [virtual] |
| virtual void PastryStateMessage::setJoinHopCount | ( | int | joinHopCount_var | ) | [virtual] |
Referenced by BasePastry::sendStateTables().
| virtual void PastryStateMessage::setLastHop | ( | bool | lastHop_var | ) | [virtual] |
Referenced by BasePastry::sendStateTables().
| virtual void PastryStateMessage::setLeafSet | ( | unsigned int | k, | |
| const NodeHandle & | leafSet_var | |||
| ) | [virtual] |
Referenced by PastryLeafSet::dumpToStateMessage(), and BasePastry::handleLeafsetMessage().
| virtual void PastryStateMessage::setLeafSetArraySize | ( | unsigned int | size | ) | [virtual] |
| virtual void PastryStateMessage::setNeighborhoodSet | ( | unsigned int | k, | |
| const NodeHandle & | neighborhoodSet_var | |||
| ) | [virtual] |
Referenced by PastryNeighborhoodSet::dumpToStateMessage().
| virtual void PastryStateMessage::setNeighborhoodSetArraySize | ( | unsigned int | size | ) | [virtual] |
| virtual void PastryStateMessage::setPastryStateMsgType | ( | int | pastryStateMsgType_var | ) | [virtual] |
Referenced by Pastry::doSecondStage(), and BasePastry::sendStateTables().
| virtual void PastryStateMessage::setRoutingTable | ( | unsigned int | k, | |
| const NodeHandle & | routingTable_var | |||
| ) | [virtual] |
| virtual void PastryStateMessage::setRoutingTableArraySize | ( | unsigned int | size | ) | [virtual] |
| virtual void PastryStateMessage::setSender | ( | const NodeHandle & | sender_var | ) | [virtual] |
| virtual void PastryStateMessage::setTimestamp | ( | simtime_t | timestamp_var | ) | [virtual] |
int PastryStateMessage::joinHopCount_var [protected] |
Definition at line 207 of file PastryMessage_m.h.
bool PastryStateMessage::lastHop_var [protected] |
Definition at line 208 of file PastryMessage_m.h.
unsigned int PastryStateMessage::leafSet_arraysize [protected] |
Definition at line 204 of file PastryMessage_m.h.
NodeHandle* PastryStateMessage::leafSet_var [protected] |
Definition at line 203 of file PastryMessage_m.h.
unsigned int PastryStateMessage::neighborhoodSet_arraysize [protected] |
Definition at line 206 of file PastryMessage_m.h.
NodeHandle* PastryStateMessage::neighborhoodSet_var [protected] |
Definition at line 205 of file PastryMessage_m.h.
int PastryStateMessage::pastryStateMsgType_var [protected] |
Definition at line 199 of file PastryMessage_m.h.
unsigned int PastryStateMessage::routingTable_arraysize [protected] |
Definition at line 202 of file PastryMessage_m.h.
NodeHandle* PastryStateMessage::routingTable_var [protected] |
Definition at line 201 of file PastryMessage_m.h.
NodeHandle PastryStateMessage::sender_var [protected] |
Definition at line 200 of file PastryMessage_m.h.
simtime_t PastryStateMessage::timestamp_var [protected] |
Definition at line 209 of file PastryMessage_m.h.
1.5.8