INET Framework for OMNeT++/OMNEST
inet::RSVPResvMsg Class Reference

RSVP RESV message. More...

#include <RSVPResvMsg.h>

Inheritance diagram for inet::RSVPResvMsg:
inet::RSVPResvMsg_Base inet::RSVPPacket inet::RSVPPacket_Base inet::RSVPMessage

Public Member Functions

 RSVPResvMsg (const char *name=nullptr, int kind=RESV_MESSAGE)
 
 RSVPResvMsg (const RSVPResvMsg &other)
 
RSVPResvMsgoperator= (const RSVPResvMsg &other)
 
virtual RSVPResvMsgdup () const override
 
IPv4Address getNHOP ()
 
IPv4Address getLIH ()
 
- Public Member Functions inherited from inet::RSVPResvMsg_Base
virtual ~RSVPResvMsg_Base ()
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual RsvpHopObj_tgetHop ()
 
virtual const RsvpHopObj_tgetHop () const
 
virtual void setHop (const RsvpHopObj_t &hop)
 
virtual FlowDescriptorVectorgetFlowDescriptor ()
 
virtual const FlowDescriptorVectorgetFlowDescriptor () const
 
virtual void setFlowDescriptor (const FlowDescriptorVector &flowDescriptor)
 
- Public Member Functions inherited from inet::RSVPPacket
 RSVPPacket (const char *name=nullptr, int kind=0)
 
 RSVPPacket (const RSVPPacket &other)
 
RSVPPacketoperator= (const RSVPPacket &other)
 
IPv4Address getDestAddress ()
 
int getTunnelId ()
 
int getExTunnelId ()
 
int getSetupPri ()
 
int getHoldingPri ()
 
bool isInSession (SessionObj_t *s)
 
- Public Member Functions inherited from inet::RSVPPacket_Base
virtual ~RSVPPacket_Base ()
 
virtual SessionObj_tgetSession ()
 
virtual const SessionObj_tgetSession () const
 
virtual void setSession (const SessionObj_t &session)
 
virtual bool getChecksumValid () const
 
virtual void setChecksumValid (bool checksumValid)
 
- Public Member Functions inherited from inet::RSVPMessage
 RSVPMessage (const char *name=nullptr, short kind=0)
 
 RSVPMessage (const RSVPMessage &other)
 
virtual ~RSVPMessage ()
 
RSVPMessageoperator= (const RSVPMessage &other)
 
virtual int getRsvpKind () const
 
virtual void setRsvpKind (int rsvpKind)
 

Additional Inherited Members

- Protected Member Functions inherited from inet::RSVPResvMsg_Base
bool operator== (const RSVPResvMsg_Base &)
 
 RSVPResvMsg_Base (const char *name=nullptr, short kind=0)
 
 RSVPResvMsg_Base (const RSVPResvMsg_Base &other)
 
RSVPResvMsg_Baseoperator= (const RSVPResvMsg_Base &other)
 
- Protected Member Functions inherited from inet::RSVPPacket_Base
bool operator== (const RSVPPacket_Base &)
 
 RSVPPacket_Base (const char *name=nullptr, short kind=0)
 
 RSVPPacket_Base (const RSVPPacket_Base &other)
 
RSVPPacket_Baseoperator= (const RSVPPacket_Base &other)
 
- Protected Member Functions inherited from inet::RSVPMessage
bool operator== (const RSVPMessage &)
 
- Protected Attributes inherited from inet::RSVPResvMsg_Base
RsvpHopObj_t hop
 
FlowDescriptorVector flowDescriptor
 
- Protected Attributes inherited from inet::RSVPPacket_Base
SessionObj_t session
 
bool checksumValid
 
- Protected Attributes inherited from inet::RSVPMessage
int rsvpKind
 

Detailed Description

RSVP RESV message.

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

Constructor & Destructor Documentation

inet::RSVPResvMsg::RSVPResvMsg ( const char *  name = nullptr,
int  kind = RESV_MESSAGE 
)
inline
32 : RSVPResvMsg_Base(name, kind) {}
RSVPResvMsg_Base(const char *name=nullptr, short kind=0)
inet::RSVPResvMsg::RSVPResvMsg ( const RSVPResvMsg other)
inline
33 : RSVPResvMsg_Base(other) {}
RSVPResvMsg_Base(const char *name=nullptr, short kind=0)

Member Function Documentation

virtual RSVPResvMsg* inet::RSVPResvMsg::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::RSVPResvMsg_Base.

35 { return new RSVPResvMsg(*this); }
RSVPResvMsg(const char *name=nullptr, int kind=RESV_MESSAGE)
Definition: RSVPResvMsg.h:32
IPv4Address inet::RSVPResvMsg::getLIH ( )
inline

Referenced by inet::RSVP::createRSB(), and inet::RSVP::processResvMsg().

38 { return getHop().Logical_Interface_Handle; }
IPv4Address Logical_Interface_Handle
Definition: IntServ_m.h:70
virtual RsvpHopObj_t & getHop()
IPv4Address inet::RSVPResvMsg::getNHOP ( )
inline

Referenced by inet::RSVP::createRSB(), and inet::RSVP::processResvMsg().

37 { return getHop().Next_Hop_Address; }
IPv4Address Next_Hop_Address
Definition: IntServ_m.h:69
virtual RsvpHopObj_t & getHop()
RSVPResvMsg& inet::RSVPResvMsg::operator= ( const RSVPResvMsg other)
inline
34 { RSVPResvMsg_Base::operator=(other); return *this; }
RSVPResvMsg_Base & operator=(const RSVPResvMsg_Base &other)

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