RSVPPacket Class Reference

#include <RSVPPacket.h>

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 RSVPPacketdup () const
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]

Referenced by dup().

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

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

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


Member Function Documentation

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

Referenced by RSVPPacket().

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

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

00035 {return new RSVPPacket(*this);}

IPAddress RSVPPacket::getDestAddress (  )  [inline]

00037 {return getSession().DestAddress;}

int RSVPPacket::getTunnelId (  )  [inline]

00038 {return getSession().Tunnel_Id;}

int RSVPPacket::getExTunnelId (  )  [inline]

00039 {return getSession().Extended_Tunnel_Id;}

int RSVPPacket::getSetupPri (  )  [inline]

00040 {return getSession().setupPri;}

int RSVPPacket::getHoldingPri (  )  [inline]

00041 {return getSession().holdingPri;}

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     }


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