OverSim
NiceMulticastMessage Class Reference

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

#include <NiceMessage_m.h>

Inheritance diagram for NiceMulticastMessage:
NiceMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 NiceMulticastMessage (const char *name=NULL, int kind=0)
 NiceMulticastMessage (const NiceMulticastMessage &other)
virtual ~NiceMulticastMessage ()
NiceMulticastMessageoperator= (const NiceMulticastMessage &other)
virtual NiceMulticastMessagedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual TransportAddressgetLastHop ()
virtual const TransportAddressgetLastHop () const
virtual void setLastHop (const TransportAddress &lastHop)
virtual double getSendTime () const
virtual void setSendTime (double sendTime)
virtual unsigned int getSeqNo () const
virtual void setSeqNo (unsigned int seqNo)
virtual unsigned int getHopCount () const
virtual void setHopCount (unsigned int hopCount)
- 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 NiceMulticastMessage &)
- Protected Member Functions inherited from NiceMessage
bool operator== (const NiceMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

TransportAddress lastHop_var
double sendTime_var
unsigned int seqNo_var
unsigned int hopCount_var
- 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 NiceMulticastMessage &other)

Detailed Description

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

message NiceMulticastMessage extends NiceMessage
{
    TransportAddress lastHop;
    double sendTime;
    unsigned int seqNo;
    unsigned int hopCount;
}

Definition at line 343 of file NiceMessage_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

NiceMulticastMessage::NiceMulticastMessage ( const NiceMulticastMessage other)
virtual NiceMulticastMessage::~NiceMulticastMessage ( )
virtual

Member Function Documentation

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

Reimplemented from NiceMessage.

Definition at line 363 of file NiceMessage_m.h.

Referenced by oversim::Nice::handleNiceMulticast(), and oversim::Nice::sendDataToOverlay().

{return new NiceMulticastMessage(*this);}
virtual unsigned int NiceMulticastMessage::getHopCount ( ) const
virtual
virtual TransportAddress& NiceMulticastMessage::getLastHop ( )
virtual
virtual const TransportAddress& NiceMulticastMessage::getLastHop ( ) const
inlinevirtual

Definition at line 369 of file NiceMessage_m.h.

Referenced by getLastHop().

{return const_cast<NiceMulticastMessage*>(this)->getLastHop();}
virtual double NiceMulticastMessage::getSendTime ( ) const
virtual
virtual unsigned int NiceMulticastMessage::getSeqNo ( ) const
virtual
NiceMulticastMessage& NiceMulticastMessage::operator= ( const NiceMulticastMessage other)
bool NiceMulticastMessage::operator== ( const NiceMulticastMessage )
protected
virtual void NiceMulticastMessage::parsimPack ( cCommBuffer *  b)
virtual

Reimplemented from NiceMessage.

Referenced by doPacking().

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

Reimplemented from NiceMessage.

Referenced by doUnpacking().

virtual void NiceMulticastMessage::setHopCount ( unsigned int  hopCount)
virtual
virtual void NiceMulticastMessage::setLastHop ( const TransportAddress lastHop)
virtual
virtual void NiceMulticastMessage::setSendTime ( double  sendTime)
virtual
virtual void NiceMulticastMessage::setSeqNo ( unsigned int  seqNo)
virtual

Member Data Documentation

unsigned int NiceMulticastMessage::hopCount_var
protected

Definition at line 349 of file NiceMessage_m.h.

TransportAddress NiceMulticastMessage::lastHop_var
protected

Definition at line 346 of file NiceMessage_m.h.

double NiceMulticastMessage::sendTime_var
protected

Definition at line 347 of file NiceMessage_m.h.

unsigned int NiceMulticastMessage::seqNo_var
protected

Definition at line 348 of file NiceMessage_m.h.


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