OverSim
NiceMessage Class Reference

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

#include <NiceMessage_m.h>

Inheritance diagram for NiceMessage:
BaseOverlayMessage OverSimMessage OverSimMessage_Base NiceMemberMessage NiceMulticastMessage NiceClusterMerge NiceHeartbeat NiceLeaderHeartbeat

Public Member Functions

 NiceMessage (const char *name=NULL, int kind=0)
 NiceMessage (const NiceMessage &other)
virtual ~NiceMessage ()
NiceMessageoperator= (const NiceMessage &other)
virtual NiceMessagedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
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 NiceMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

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 NiceMessage &other)

Detailed Description

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

message NiceMessage extends BaseOverlayMessage
{
    int command enum(NICECommand);
    TransportAddress srcNode;
    short layer;
}

Definition at line 98 of file NiceMessage_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

NiceMessage::NiceMessage ( const NiceMessage other)
virtual NiceMessage::~NiceMessage ( )
virtual

Member Function Documentation

void NiceMessage::copy ( const NiceMessage other)
private
virtual int NiceMessage::getCommand ( ) const
virtual
virtual const TransportAddress& NiceMessage::getSrcNode ( ) const
inlinevirtual

Definition at line 125 of file NiceMessage_m.h.

Referenced by getSrcNode().

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

Member Data Documentation

int NiceMessage::command_var
protected

Definition at line 101 of file NiceMessage_m.h.

short NiceMessage::layer_var
protected

Definition at line 103 of file NiceMessage_m.h.

TransportAddress NiceMessage::srcNode_var
protected

Definition at line 102 of file NiceMessage_m.h.


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