INET Framework for OMNeT++/OMNEST
RSVPPacket Class Reference

#include <RSVPPacket.h>

List of all members.

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)

Detailed Description

RSVP message common part.

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


Constructor & Destructor Documentation

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

Referenced by dup().

: RSVPPacket_Base(name,RSVP_TRAFFIC) { this->rsvpKind_var = kind; }
RSVPPacket::RSVPPacket ( const RSVPPacket other) [inline]
: RSVPPacket_Base(other.getName()) {operator=(other);}

Member Function Documentation

virtual RSVPPacket* RSVPPacket::dup ( ) const [inline, virtual]
{return new RSVPPacket(*this);}
IPAddress RSVPPacket::getDestAddress ( ) [inline]
{return getSession().DestAddress;}
int RSVPPacket::getExTunnelId ( ) [inline]
{return getSession().Extended_Tunnel_Id;}
int RSVPPacket::getHoldingPri ( ) [inline]
{return getSession().holdingPri;}
int RSVPPacket::getSetupPri ( ) [inline]
{return getSession().setupPri;}
int RSVPPacket::getTunnelId ( ) [inline]
{return getSession().Tunnel_Id;}
bool RSVPPacket::isInSession ( SessionObj_t *  s) [inline]
                                             {
        return getSession().DestAddress==s->DestAddress &&
               getSession().Tunnel_Id==s->Tunnel_Id &&
               getSession().Extended_Tunnel_Id==s->Extended_Tunnel_Id;
    }
RSVPPacket& RSVPPacket::operator= ( const RSVPPacket other) [inline]

Referenced by RSVPPacket().

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

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