OverSim
NiceClusterMerge Class Reference

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

#include <NiceMessage_m.h>

Inheritance diagram for NiceClusterMerge:
NiceMemberMessage NiceMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 NiceClusterMerge (const char *name=NULL, int kind=0)
 NiceClusterMerge (const NiceClusterMerge &other)
virtual ~NiceClusterMerge ()
NiceClusterMergeoperator= (const NiceClusterMerge &other)
virtual NiceClusterMergedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual TransportAddressgetNewClusterLeader ()
virtual const TransportAddressgetNewClusterLeader () const
virtual void setNewClusterLeader (const TransportAddress &newClusterLeader)
- 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 NiceClusterMerge &)
- 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 newClusterLeader_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 NiceClusterMerge &other)

Detailed Description

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

message NiceClusterMerge extends NiceMemberMessage
{
    TransportAddress newClusterLeader;
}

Definition at line 185 of file NiceMessage_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

NiceClusterMerge::NiceClusterMerge ( const NiceClusterMerge other)
virtual NiceClusterMerge::~NiceClusterMerge ( )
virtual

Member Function Documentation

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

Reimplemented from NiceMemberMessage.

Definition at line 202 of file NiceMessage_m.h.

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

{return new NiceClusterMerge(*this);}
virtual TransportAddress& NiceClusterMerge::getNewClusterLeader ( )
virtual
virtual const TransportAddress& NiceClusterMerge::getNewClusterLeader ( ) const
inlinevirtual

Definition at line 208 of file NiceMessage_m.h.

Referenced by getNewClusterLeader().

{return const_cast<NiceClusterMerge*>(this)->getNewClusterLeader();}
NiceClusterMerge& NiceClusterMerge::operator= ( const NiceClusterMerge other)
bool NiceClusterMerge::operator== ( const NiceClusterMerge )
protected
virtual void NiceClusterMerge::parsimPack ( cCommBuffer *  b)
virtual

Reimplemented from NiceMemberMessage.

Referenced by doPacking().

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

Reimplemented from NiceMemberMessage.

Referenced by doUnpacking().

virtual void NiceClusterMerge::setNewClusterLeader ( const TransportAddress newClusterLeader)
virtual

Member Data Documentation

TransportAddress NiceClusterMerge::newClusterLeader_var
protected

Definition at line 188 of file NiceMessage_m.h.


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