RSVPPacket Class Reference

#include <RSVPPacket.h>

Inheritance diagram for RSVPPacket:

RSVPPacket_Base RSVPMessage RSVPPathError_Base RSVPPathMsg_Base RSVPPathTear_Base RSVPResvError_Base RSVPResvMsg_Base RSVPResvTear_Base RSVPPathError RSVPPathMsg RSVPPathTear RSVPResvError RSVPResvMsg RSVPResvTear List of all members.

Detailed Description

RSVP message common part.

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


Public Member Functions

 RSVPPacket (const char *name=NULL, int kind=0)
 RSVPPacket (const RSVPPacket &other)
RSVPPacketoperator= (const RSVPPacket &other)
virtual cObject * dup ()
IPAddress getDestAddress ()
int getTunnelId ()
int getExTunnelId ()
int getSetupPri ()
int getHoldingPri ()
bool isInSession (SessionObj_t *s)


Constructor & Destructor Documentation

RSVPPacket::RSVPPacket ( const char *  name = NULL,
int  kind = 0 
) [inline]

00032 : RSVPPacket_Base(name,RSVP_TRAFFIC) { this->rsvpKind_var = kind; }

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

00033 : RSVPPacket_Base(other.name()) {operator=(other);}


Member Function Documentation

virtual cObject* RSVPPacket::dup (  )  [inline, virtual]

Reimplemented in RSVPPathMsg, RSVPPathTear, RSVPPathError, and RSVPResvError.

00035 {return new RSVPPacket(*this);}

IPAddress RSVPPacket::getDestAddress (  )  [inline]

00037 {return getSession().DestAddress;}

int RSVPPacket::getExTunnelId (  )  [inline]

00039 {return getSession().Extended_Tunnel_Id;}

int RSVPPacket::getHoldingPri (  )  [inline]

00041 {return getSession().holdingPri;}

int RSVPPacket::getSetupPri (  )  [inline]

00040 {return getSession().setupPri;}

int RSVPPacket::getTunnelId (  )  [inline]

00038 {return getSession().Tunnel_Id;}

bool RSVPPacket::isInSession ( SessionObj_t s  )  [inline]

00042                                              {
00043         return getSession().DestAddress==s->DestAddress &&
00044                getSession().Tunnel_Id==s->Tunnel_Id &&
00045                getSession().Extended_Tunnel_Id==s->Extended_Tunnel_Id;
00046     }

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

00034 {RSVPPacket_Base::operator=(other); return *this;}


The documentation for this class was generated from the following file:
Generated on Wed Apr 4 13:20:23 2007 for INET Framework for OMNeT++/OMNEST by  doxygen 1.4.7