RSVPPathMsg Class Reference

#include <RSVPPathMsg.h>

List of all members.


Detailed Description

RSVP PATH message

This class adds convenience get() and set() methods to the generated base class, but no extra data.

Public Member Functions

 RSVPPathMsg (const char *name=NULL, int kind=PATH_MESSAGE)
 RSVPPathMsg (const RSVPPathMsg &other)
RSVPPathMsgoperator= (const RSVPPathMsg &other)
virtual RSVPPathMsgdup () const
IPAddress getSrcAddress ()
int getLspId ()
IPAddress getNHOP ()
IPAddress getLIH ()
double getBW ()
SenderTemplateObj_t & getSenderTemplate ()
void setSenderTemplate (const SenderTemplateObj_t &s)
SenderTspecObj_t & getSenderTspec ()
void setSenderTspec (const SenderTspecObj_t &s)


Constructor & Destructor Documentation

RSVPPathMsg::RSVPPathMsg ( const char *  name = NULL,
int  kind = PATH_MESSAGE 
) [inline]

Referenced by dup().

00031 : RSVPPathMsg_Base(name,kind) {}

RSVPPathMsg::RSVPPathMsg ( const RSVPPathMsg other  )  [inline]

00032 : RSVPPathMsg_Base(other.getName()) {operator=(other);}


Member Function Documentation

RSVPPathMsg& RSVPPathMsg::operator= ( const RSVPPathMsg other  )  [inline]

Referenced by RSVPPathMsg().

00033 {RSVPPathMsg_Base::operator=(other); return *this;}

virtual RSVPPathMsg* RSVPPathMsg::dup (  )  const [inline, virtual]

00034 {return new RSVPPathMsg(*this);}

IPAddress RSVPPathMsg::getSrcAddress (  )  [inline]

00036 {return getSender_descriptor().Sender_Template_Object.SrcAddress;}

int RSVPPathMsg::getLspId (  )  [inline]

Referenced by RSVP::print().

00037 {return getSender_descriptor().Sender_Template_Object.Lsp_Id;}

IPAddress RSVPPathMsg::getNHOP (  )  [inline]

Referenced by RSVP::createPSB(), and RSVP::processPathMsg().

00038 {return getHop().Next_Hop_Address;}

IPAddress RSVPPathMsg::getLIH (  )  [inline]

00039 {return getHop().Logical_Interface_Handle;}

double RSVPPathMsg::getBW (  )  [inline]

00040 {return getSender_descriptor().Sender_Tspec_Object.req_bandwidth;}

SenderTemplateObj_t& RSVPPathMsg::getSenderTemplate (  )  [inline]

Referenced by RSVP::createPSB(), and RSVP::processPathMsg().

00041 {return getSender_descriptor().Sender_Template_Object;}

void RSVPPathMsg::setSenderTemplate ( const SenderTemplateObj_t &  s  )  [inline]

00042 {getSender_descriptor().Sender_Template_Object = s;}

SenderTspecObj_t& RSVPPathMsg::getSenderTspec (  )  [inline]

Referenced by RSVP::createPSB(), and RSVP::processPathMsg().

00043 {return getSender_descriptor().Sender_Tspec_Object;}

void RSVPPathMsg::setSenderTspec ( const SenderTspecObj_t &  s  )  [inline]

00044 {getSender_descriptor().Sender_Tspec_Object = s;}


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

Generated on Fri Mar 20 18:51:20 2009 for INET Framework for OMNeT++/OMNEST by  doxygen 1.5.5