INET Framework for OMNeT++/OMNEST
RSVPPathError Class Reference

#include <RSVPPathMsg.h>

List of all members.

Public Member Functions

 RSVPPathError (const char *name=NULL, int kind=PERROR_MESSAGE)
 RSVPPathError (const RSVPPathError &other)
RSVPPathErroroperator= (const RSVPPathError &other)
virtual RSVPPathErrordup () const
IPAddress getSrcAddress ()
int getLspId ()
double getBW ()
SenderTemplateObj_t & getSenderTemplate ()
void setSenderTemplate (const SenderTemplateObj_t &s)
SenderTspecObj_t & getSenderTspec ()
void setSenderTspec (const SenderTspecObj_t &s)

Detailed Description

RSVP PATH ERROR message

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


Constructor & Destructor Documentation

RSVPPathError::RSVPPathError ( const char *  name = NULL,
int  kind = PERROR_MESSAGE 
) [inline]

Referenced by dup().

: RSVPPathError_Base(name,kind) {}
RSVPPathError::RSVPPathError ( const RSVPPathError other) [inline]
: RSVPPathError_Base(other.getName()) {operator=(other);}

Member Function Documentation

virtual RSVPPathError* RSVPPathError::dup ( ) const [inline, virtual]
{return new RSVPPathError(*this);}
double RSVPPathError::getBW ( ) [inline]
{return getSender_descriptor().Sender_Tspec_Object.req_bandwidth;}
int RSVPPathError::getLspId ( ) [inline]
{return getSender_descriptor().Sender_Template_Object.Lsp_Id;}
SenderTemplateObj_t& RSVPPathError::getSenderTemplate ( ) [inline]

Referenced by RSVP::processPathErrMsg().

{return getSender_descriptor().Sender_Template_Object;}
SenderTspecObj_t& RSVPPathError::getSenderTspec ( ) [inline]
{return getSender_descriptor().Sender_Tspec_Object;}
IPAddress RSVPPathError::getSrcAddress ( ) [inline]
{return getSender_descriptor().Sender_Template_Object.SrcAddress;}
RSVPPathError& RSVPPathError::operator= ( const RSVPPathError other) [inline]

Referenced by RSVPPathError().

{RSVPPathError_Base::operator=(other); return *this;}
void RSVPPathError::setSenderTemplate ( const SenderTemplateObj_t &  s) [inline]

Referenced by RSVP::sendPathErrorMessage().

{getSender_descriptor().Sender_Template_Object = s;}
void RSVPPathError::setSenderTspec ( const SenderTspecObj_t &  s) [inline]

Referenced by RSVP::sendPathErrorMessage().

{getSender_descriptor().Sender_Tspec_Object = s;}

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