OverSim
|
Class generated from overlay/nice/NiceMessage.msg
by opp_msgc.
More...
#include <NiceMessage_m.h>
Public Member Functions | |
NiceLeaderHeartbeat (const char *name=NULL, int kind=0) | |
NiceLeaderHeartbeat (const NiceLeaderHeartbeat &other) | |
virtual | ~NiceLeaderHeartbeat () |
NiceLeaderHeartbeat & | operator= (const NiceLeaderHeartbeat &other) |
virtual NiceLeaderHeartbeat * | dup () const |
virtual void | parsimPack (cCommBuffer *b) |
virtual void | parsimUnpack (cCommBuffer *b) |
virtual TransportAddress & | getSupercluster_leader () |
virtual const TransportAddress & | getSupercluster_leader () const |
virtual void | setSupercluster_leader (const TransportAddress &supercluster_leader) |
virtual void | setSupercluster_membersArraySize (unsigned int size) |
virtual unsigned int | getSupercluster_membersArraySize () const |
virtual TransportAddress & | getSupercluster_members (unsigned int k) |
virtual const TransportAddress & | getSupercluster_members (unsigned int k) const |
virtual void | setSupercluster_members (unsigned int k, const TransportAddress &supercluster_members) |
virtual unsigned int | getK () const |
virtual void | setK (unsigned int k) |
virtual unsigned int | getSc_tolerance () const |
virtual void | setSc_tolerance (unsigned int sc_tolerance) |
Public Member Functions inherited from NiceHeartbeat | |
NiceHeartbeat (const char *name=NULL, int kind=0) | |
NiceHeartbeat (const NiceHeartbeat &other) | |
virtual | ~NiceHeartbeat () |
NiceHeartbeat & | operator= (const NiceHeartbeat &other) |
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 NiceLeaderHeartbeat &) |
Protected Member Functions inherited from NiceHeartbeat | |
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 | |
TransportAddress | supercluster_leader_var |
TransportAddress * | supercluster_members_var |
unsigned int | supercluster_members_arraysize |
unsigned int | k_var |
unsigned int | sc_tolerance_var |
Protected Attributes inherited from NiceHeartbeat | |
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 NiceLeaderHeartbeat &other) |
Class generated from overlay/nice/NiceMessage.msg
by opp_msgc.
message NiceLeaderHeartbeat extends NiceHeartbeat { TransportAddress supercluster_leader; TransportAddress supercluster_members[]; unsigned int k; unsigned int sc_tolerance; }
Definition at line 288 of file NiceMessage_m.h.
NiceLeaderHeartbeat::NiceLeaderHeartbeat | ( | const char * | name = NULL , |
int | kind = 0 |
||
) |
Referenced by dup().
NiceLeaderHeartbeat::NiceLeaderHeartbeat | ( | const NiceLeaderHeartbeat & | other | ) |
|
virtual |
|
private |
|
inlinevirtual |
Reimplemented from NiceHeartbeat.
Definition at line 309 of file NiceMessage_m.h.
Referenced by oversim::Nice::sendHeartbeats().
|
virtual |
|
virtual |
|
virtual |
Referenced by oversim::Nice::handleNiceLeaderHeartbeat(), and oversim::Nice::handleNiceLeaderTransfer().
|
inlinevirtual |
|
virtual |
Referenced by oversim::Nice::handleNiceLeaderHeartbeat(), and oversim::Nice::handleNiceLeaderTransfer().
|
inlinevirtual |
|
virtual |
Referenced by oversim::Nice::handleNiceLeaderHeartbeat(), and oversim::Nice::handleNiceLeaderTransfer().
NiceLeaderHeartbeat& NiceLeaderHeartbeat::operator= | ( | const NiceLeaderHeartbeat & | other | ) |
|
protected |
|
virtual |
Reimplemented from NiceHeartbeat.
Referenced by doPacking().
|
virtual |
Reimplemented from NiceHeartbeat.
Referenced by doUnpacking().
|
virtual |
Referenced by oversim::Nice::sendHeartbeats().
|
virtual |
Referenced by oversim::Nice::sendHeartbeats().
|
virtual |
|
virtual |
|
virtual |
|
protected |
Definition at line 294 of file NiceMessage_m.h.
|
protected |
Definition at line 295 of file NiceMessage_m.h.
|
protected |
Definition at line 291 of file NiceMessage_m.h.
|
protected |
Definition at line 293 of file NiceMessage_m.h.
|
protected |
Definition at line 292 of file NiceMessage_m.h.