OverSim
NiceLeaderHeartbeat Class Reference

Class generated from overlay/nice/NiceMessage.msg by opp_msgc. More...

#include <NiceMessage_m.h>

Inheritance diagram for NiceLeaderHeartbeat:
NiceHeartbeat NiceMemberMessage NiceMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 NiceLeaderHeartbeat (const char *name=NULL, int kind=0)
 NiceLeaderHeartbeat (const NiceLeaderHeartbeat &other)
virtual ~NiceLeaderHeartbeat ()
NiceLeaderHeartbeatoperator= (const NiceLeaderHeartbeat &other)
virtual NiceLeaderHeartbeatdup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual TransportAddressgetSupercluster_leader ()
virtual const TransportAddressgetSupercluster_leader () const
virtual void setSupercluster_leader (const TransportAddress &supercluster_leader)
virtual void setSupercluster_membersArraySize (unsigned int size)
virtual unsigned int getSupercluster_membersArraySize () const
virtual TransportAddressgetSupercluster_members (unsigned int k)
virtual const TransportAddressgetSupercluster_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 ()
NiceHeartbeatoperator= (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 ()
NiceMemberMessageoperator= (const NiceMemberMessage &other)
virtual void setMembersArraySize (unsigned int size)
virtual unsigned int getMembersArraySize () const
virtual TransportAddressgetMembers (unsigned int k)
virtual const TransportAddressgetMembers (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 ()
NiceMessageoperator= (const NiceMessage &other)
virtual int getCommand () const
virtual void setCommand (int command)
virtual TransportAddressgetSrcNode ()
virtual const TransportAddressgetSrcNode () 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 ()
BaseOverlayMessageoperator= (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)
OverSimMessageoperator= (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
TransportAddresssupercluster_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
TransportAddressmembers_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)

Detailed Description

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.

Constructor & Destructor Documentation

NiceLeaderHeartbeat::NiceLeaderHeartbeat ( const char *  name = NULL,
int  kind = 0 
)

Referenced by dup().

NiceLeaderHeartbeat::NiceLeaderHeartbeat ( const NiceLeaderHeartbeat other)
virtual NiceLeaderHeartbeat::~NiceLeaderHeartbeat ( )
virtual

Member Function Documentation

void NiceLeaderHeartbeat::copy ( const NiceLeaderHeartbeat other)
private
virtual NiceLeaderHeartbeat* NiceLeaderHeartbeat::dup ( ) const
inlinevirtual

Reimplemented from NiceHeartbeat.

Definition at line 309 of file NiceMessage_m.h.

Referenced by oversim::Nice::sendHeartbeats().

{return new NiceLeaderHeartbeat(*this);}
virtual unsigned int NiceLeaderHeartbeat::getK ( ) const
virtual
virtual unsigned int NiceLeaderHeartbeat::getSc_tolerance ( ) const
virtual
virtual TransportAddress& NiceLeaderHeartbeat::getSupercluster_leader ( )
virtual
virtual const TransportAddress& NiceLeaderHeartbeat::getSupercluster_leader ( ) const
inlinevirtual

Definition at line 315 of file NiceMessage_m.h.

Referenced by getSupercluster_leader().

{return const_cast<NiceLeaderHeartbeat*>(this)->getSupercluster_leader();}
virtual TransportAddress& NiceLeaderHeartbeat::getSupercluster_members ( unsigned int  k)
virtual
virtual const TransportAddress& NiceLeaderHeartbeat::getSupercluster_members ( unsigned int  k) const
inlinevirtual

Definition at line 320 of file NiceMessage_m.h.

Referenced by getSupercluster_members().

{return const_cast<NiceLeaderHeartbeat*>(this)->getSupercluster_members(k);}
virtual unsigned int NiceLeaderHeartbeat::getSupercluster_membersArraySize ( ) const
virtual
NiceLeaderHeartbeat& NiceLeaderHeartbeat::operator= ( const NiceLeaderHeartbeat other)
bool NiceLeaderHeartbeat::operator== ( const NiceLeaderHeartbeat )
protected
virtual void NiceLeaderHeartbeat::parsimPack ( cCommBuffer *  b)
virtual

Reimplemented from NiceHeartbeat.

Referenced by doPacking().

virtual void NiceLeaderHeartbeat::parsimUnpack ( cCommBuffer *  b)
virtual

Reimplemented from NiceHeartbeat.

Referenced by doUnpacking().

virtual void NiceLeaderHeartbeat::setK ( unsigned int  k)
virtual
virtual void NiceLeaderHeartbeat::setSc_tolerance ( unsigned int  sc_tolerance)
virtual
virtual void NiceLeaderHeartbeat::setSupercluster_leader ( const TransportAddress supercluster_leader)
virtual
virtual void NiceLeaderHeartbeat::setSupercluster_members ( unsigned int  k,
const TransportAddress supercluster_members 
)
virtual
virtual void NiceLeaderHeartbeat::setSupercluster_membersArraySize ( unsigned int  size)
virtual

Member Data Documentation

unsigned int NiceLeaderHeartbeat::k_var
protected

Definition at line 294 of file NiceMessage_m.h.

unsigned int NiceLeaderHeartbeat::sc_tolerance_var
protected

Definition at line 295 of file NiceMessage_m.h.

TransportAddress NiceLeaderHeartbeat::supercluster_leader_var
protected

Definition at line 291 of file NiceMessage_m.h.

unsigned int NiceLeaderHeartbeat::supercluster_members_arraysize
protected

Definition at line 293 of file NiceMessage_m.h.

TransportAddress* NiceLeaderHeartbeat::supercluster_members_var
protected

Definition at line 292 of file NiceMessage_m.h.


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