OverSim
GiaRouteMessage Class Reference

Class generated from overlay/gia/GiaMessage.msg by opp_msgc. More...

#include <GiaMessage_m.h>

Inheritance diagram for GiaRouteMessage:
GiaIDMessage GiaMessage BaseOverlayMessage OverSimMessage OverSimMessage_Base

Public Member Functions

 GiaRouteMessage (const char *name=NULL, int kind=0)
 GiaRouteMessage (const GiaRouteMessage &other)
virtual ~GiaRouteMessage ()
GiaRouteMessageoperator= (const GiaRouteMessage &other)
virtual GiaRouteMessagedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual OverlayKeygetOriginatorKey ()
virtual const OverlayKeygetOriginatorKey () const
virtual void setOriginatorKey (const OverlayKey &originatorKey)
virtual IPvXAddress & getOriginatorIP ()
virtual const IPvXAddress & getOriginatorIP () const
virtual void setOriginatorIP (const IPvXAddress &originatorIP)
virtual int getOriginatorPort () const
virtual void setOriginatorPort (int originatorPort)
- Public Member Functions inherited from GiaIDMessage
 GiaIDMessage (const char *name=NULL, int kind=0)
 GiaIDMessage (const GiaIDMessage &other)
virtual ~GiaIDMessage ()
GiaIDMessageoperator= (const GiaIDMessage &other)
virtual OverlayKeygetDestKey ()
virtual const OverlayKeygetDestKey () const
virtual void setDestKey (const OverlayKey &destKey)
virtual OverlayKeygetID ()
virtual const OverlayKeygetID () const
virtual void setID (const OverlayKey &ID)
- Public Member Functions inherited from GiaMessage
 GiaMessage (const char *name=NULL, int kind=0)
 GiaMessage (const GiaMessage &other)
virtual ~GiaMessage ()
GiaMessageoperator= (const GiaMessage &other)
virtual NodeHandlegetSrcNode ()
virtual const NodeHandlegetSrcNode () const
virtual void setSrcNode (const NodeHandle &srcNode)
virtual int getHopCount () const
virtual void setHopCount (int hopCount)
virtual int getCommand () const
virtual void setCommand (int command)
virtual double getSrcCapacity () const
virtual void setSrcCapacity (double srcCapacity)
virtual int getSrcDegree () const
virtual void setSrcDegree (int srcDegree)
- 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 GiaRouteMessage &)
- Protected Member Functions inherited from GiaIDMessage
bool operator== (const GiaIDMessage &)
- Protected Member Functions inherited from GiaMessage
bool operator== (const GiaMessage &)
- Protected Member Functions inherited from BaseOverlayMessage
bool operator== (const BaseOverlayMessage &)

Protected Attributes

OverlayKey originatorKey_var
IPvXAddress originatorIP_var
int originatorPort_var
- Protected Attributes inherited from GiaIDMessage
OverlayKey destKey_var
OverlayKey ID_var
- Protected Attributes inherited from GiaMessage
NodeHandle srcNode_var
int hopCount_var
int command_var
double srcCapacity_var
int srcDegree_var
- Protected Attributes inherited from BaseOverlayMessage
int type_var
int statType_var

Private Member Functions

void copy (const GiaRouteMessage &other)

Detailed Description

Class generated from overlay/gia/GiaMessage.msg by opp_msgc.

message GiaRouteMessage extends GiaIDMessage
{
        OverlayKey originatorKey;    
        IPvXAddress originatorIP;    
        int originatorPort;    
};

Definition at line 274 of file GiaMessage_m.h.

Constructor & Destructor Documentation

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

Referenced by dup().

GiaRouteMessage::GiaRouteMessage ( const GiaRouteMessage other)
virtual GiaRouteMessage::~GiaRouteMessage ( )
virtual

Member Function Documentation

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

Reimplemented from GiaIDMessage.

Definition at line 293 of file GiaMessage_m.h.

{return new GiaRouteMessage(*this);}
virtual IPvXAddress& GiaRouteMessage::getOriginatorIP ( )
virtual
virtual const IPvXAddress& GiaRouteMessage::getOriginatorIP ( ) const
inlinevirtual

Definition at line 302 of file GiaMessage_m.h.

Referenced by getOriginatorIP().

{return const_cast<GiaRouteMessage*>(this)->getOriginatorIP();}
virtual OverlayKey& GiaRouteMessage::getOriginatorKey ( )
virtual
virtual const OverlayKey& GiaRouteMessage::getOriginatorKey ( ) const
inlinevirtual

Definition at line 299 of file GiaMessage_m.h.

Referenced by getOriginatorKey().

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

Reimplemented from GiaIDMessage.

Referenced by doPacking().

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

Reimplemented from GiaIDMessage.

Referenced by doUnpacking().

virtual void GiaRouteMessage::setOriginatorIP ( const IPvXAddress &  originatorIP)
virtual

Referenced by Gia::getRoute().

virtual void GiaRouteMessage::setOriginatorKey ( const OverlayKey originatorKey)
virtual

Referenced by Gia::getRoute().

virtual void GiaRouteMessage::setOriginatorPort ( int  originatorPort)
virtual

Referenced by Gia::getRoute().

Member Data Documentation

IPvXAddress GiaRouteMessage::originatorIP_var
protected

Definition at line 278 of file GiaMessage_m.h.

OverlayKey GiaRouteMessage::originatorKey_var
protected

Definition at line 277 of file GiaMessage_m.h.

int GiaRouteMessage::originatorPort_var
protected

Definition at line 279 of file GiaMessage_m.h.


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