OverSim
|
Class generated from overlay/nice/NiceMessage.msg
by opp_msgc.
More...
#include <NiceMessage_m.h>
Public Member Functions | |
NiceHeartbeat (const char *name=NULL, int kind=0) | |
NiceHeartbeat (const NiceHeartbeat &other) | |
virtual | ~NiceHeartbeat () |
NiceHeartbeat & | operator= (const NiceHeartbeat &other) |
virtual NiceHeartbeat * | dup () const |
virtual void | parsimPack (cCommBuffer *b) |
virtual void | parsimUnpack (cCommBuffer *b) |
virtual unsigned int | getSeqNo () const |
virtual void | setSeqNo (unsigned int seqNo) |
virtual unsigned int | getSeqRspNo () const |
virtual void | setSeqRspNo (unsigned int seqRspNo) |
virtual double | getHb_delay () const |
virtual void | setHb_delay (double hb_delay) |
virtual void | setDistancesArraySize (unsigned int size) |
virtual unsigned int | getDistancesArraySize () const |
virtual double | getDistances (unsigned int k) const |
virtual void | setDistances (unsigned int k, double distances) |
virtual double | getOne_hop_distance () const |
virtual void | setOne_hop_distance (double one_hop_distance) |
virtual unsigned int | getSublayermembers () const |
virtual void | setSublayermembers (unsigned int sublayermembers) |
Public Member Functions inherited from NiceMemberMessage | |
NiceMemberMessage (const char *name=NULL, int kind=0) | |
NiceMemberMessage (const NiceMemberMessage &other) | |
virtual | ~NiceMemberMessage () |
NiceMemberMessage & | operator= (const NiceMemberMessage &other) |
virtual void | setMembersArraySize (unsigned int size) |
virtual unsigned int | getMembersArraySize () const |
virtual TransportAddress & | getMembers (unsigned int k) |
virtual const TransportAddress & | getMembers (unsigned int k) const |
virtual void | setMembers (unsigned int k, const TransportAddress &members) |
Public Member Functions inherited from NiceMessage | |
NiceMessage (const char *name=NULL, int kind=0) | |
NiceMessage (const NiceMessage &other) | |
virtual | ~NiceMessage () |
NiceMessage & | operator= (const NiceMessage &other) |
virtual int | getCommand () const |
virtual void | setCommand (int command) |
virtual TransportAddress & | getSrcNode () |
virtual const TransportAddress & | getSrcNode () const |
virtual void | setSrcNode (const TransportAddress &srcNode) |
virtual short | getLayer () const |
virtual void | setLayer (short layer) |
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 NiceHeartbeat &) |
Protected Member Functions inherited from NiceMemberMessage | |
bool | operator== (const NiceMemberMessage &) |
Protected Member Functions inherited from NiceMessage | |
bool | operator== (const NiceMessage &) |
Protected Member Functions inherited from BaseOverlayMessage | |
bool | operator== (const BaseOverlayMessage &) |
Protected Attributes | |
unsigned int | seqNo_var |
unsigned int | seqRspNo_var |
double | hb_delay_var |
double * | distances_var |
unsigned int | distances_arraysize |
double | one_hop_distance_var |
unsigned int | sublayermembers_var |
Protected Attributes inherited from NiceMemberMessage | |
TransportAddress * | members_var |
unsigned int | members_arraysize |
Protected Attributes inherited from NiceMessage | |
int | command_var |
TransportAddress | srcNode_var |
short | layer_var |
Protected Attributes inherited from BaseOverlayMessage | |
int | type_var |
int | statType_var |
Private Member Functions | |
void | copy (const NiceHeartbeat &other) |
Class generated from overlay/nice/NiceMessage.msg
by opp_msgc.
message NiceHeartbeat extends NiceMemberMessage { unsigned int seqNo; unsigned int seqRspNo; double hb_delay; double distances[]; double one_hop_distance; unsigned int sublayermembers; }
Definition at line 229 of file NiceMessage_m.h.
NiceHeartbeat::NiceHeartbeat | ( | const char * | name = NULL , |
int | kind = 0 |
||
) |
Referenced by dup().
NiceHeartbeat::NiceHeartbeat | ( | const NiceHeartbeat & | other | ) |
|
virtual |
|
private |
|
inlinevirtual |
Reimplemented from NiceMemberMessage.
Reimplemented in NiceLeaderHeartbeat.
Definition at line 252 of file NiceMessage_m.h.
Referenced by oversim::Nice::sendHeartbeats().
|
virtual |
Referenced by oversim::Nice::handleNiceHeartbeat(), and oversim::Nice::handleNiceLeaderHeartbeat().
|
virtual |
|
virtual |
Referenced by oversim::Nice::handleNiceHeartbeat(), and oversim::Nice::handleNiceLeaderHeartbeat().
|
virtual |
|
virtual |
Referenced by oversim::Nice::handleNiceHeartbeat(), and oversim::Nice::handleNiceLeaderHeartbeat().
|
virtual |
Referenced by oversim::Nice::handleNiceHeartbeat(), and oversim::Nice::handleNiceLeaderHeartbeat().
|
virtual |
Referenced by oversim::Nice::handleNiceHeartbeat().
NiceHeartbeat& NiceHeartbeat::operator= | ( | const NiceHeartbeat & | other | ) |
|
protected |
|
virtual |
Reimplemented from NiceMemberMessage.
Reimplemented in NiceLeaderHeartbeat.
Referenced by doPacking().
|
virtual |
Reimplemented from NiceMemberMessage.
Reimplemented in NiceLeaderHeartbeat.
Referenced by doUnpacking().
|
virtual |
Referenced by oversim::Nice::sendHeartbeats(), and oversim::Nice::sendHeartbeatTo().
|
virtual |
Referenced by oversim::Nice::sendHeartbeats(), and oversim::Nice::sendHeartbeatTo().
|
virtual |
Referenced by oversim::Nice::sendHeartbeats(), and oversim::Nice::sendHeartbeatTo().
|
virtual |
Referenced by oversim::Nice::sendHeartbeats().
|
virtual |
Referenced by oversim::Nice::sendHeartbeats(), and oversim::Nice::sendHeartbeatTo().
|
virtual |
Referenced by oversim::Nice::sendHeartbeats(), and oversim::Nice::sendHeartbeatTo().
|
virtual |
Referenced by oversim::Nice::sendHeartbeats().
|
protected |
Definition at line 236 of file NiceMessage_m.h.
|
protected |
Definition at line 235 of file NiceMessage_m.h.
|
protected |
Definition at line 234 of file NiceMessage_m.h.
|
protected |
Definition at line 237 of file NiceMessage_m.h.
|
protected |
Definition at line 232 of file NiceMessage_m.h.
|
protected |
Definition at line 233 of file NiceMessage_m.h.
|
protected |
Definition at line 238 of file NiceMessage_m.h.