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

Class generated from inet/networklayer/ldp/LDPPacket.msg:75 by nedtool. More...

#include <LDPPacket_m.h>

Inheritance diagram for inet::LDPLabelMapping:
inet::LDPPacket

Public Member Functions

 LDPLabelMapping (const char *name=nullptr, short kind=0)
 
 LDPLabelMapping (const LDPLabelMapping &other)
 
virtual ~LDPLabelMapping ()
 
LDPLabelMappingoperator= (const LDPLabelMapping &other)
 
virtual LDPLabelMappingdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual FEC_TLVgetFec ()
 
virtual const FEC_TLVgetFec () const
 
virtual void setFec (const FEC_TLV &fec)
 
virtual int getLabel () const
 
virtual void setLabel (int label)
 
- Public Member Functions inherited from inet::LDPPacket
 LDPPacket (const char *name=nullptr, short kind=0)
 
 LDPPacket (const LDPPacket &other)
 
virtual ~LDPPacket ()
 
LDPPacketoperator= (const LDPPacket &other)
 
virtual int getType () const
 
virtual void setType (int type)
 
virtual IPv4AddressgetSenderAddress ()
 
virtual const IPv4AddressgetSenderAddress () const
 
virtual void setSenderAddress (const IPv4Address &senderAddress)
 
virtual IPv4AddressgetReceiverAddress ()
 
virtual const IPv4AddressgetReceiverAddress () const
 
virtual void setReceiverAddress (const IPv4Address &receiverAddress)
 

Protected Member Functions

bool operator== (const LDPLabelMapping &)
 
- Protected Member Functions inherited from inet::LDPPacket
bool operator== (const LDPPacket &)
 

Protected Attributes

FEC_TLV fec
 
int label
 
- Protected Attributes inherited from inet::LDPPacket
int type
 
IPv4Address senderAddress
 
IPv4Address receiverAddress
 

Private Member Functions

void copy (const LDPLabelMapping &other)
 

Detailed Description

Class generated from inet/networklayer/ldp/LDPPacket.msg:75 by nedtool.

//
// LDP Label Mapping Message
//
packet LDPLabelMapping extends LDPPacket
{
    FEC_TLV fec;
    int label;
}

Constructor & Destructor Documentation

inet::LDPLabelMapping::LDPLabelMapping ( const char *  name = nullptr,
short  kind = 0 
)
inet::LDPLabelMapping::LDPLabelMapping ( const LDPLabelMapping other)
virtual inet::LDPLabelMapping::~LDPLabelMapping ( )
virtual

Member Function Documentation

void inet::LDPLabelMapping::copy ( const LDPLabelMapping other)
private
virtual LDPLabelMapping* inet::LDPLabelMapping::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::LDPPacket.

194 {return new LDPLabelMapping(*this);}
LDPLabelMapping(const char *name=nullptr, short kind=0)
virtual FEC_TLV& inet::LDPLabelMapping::getFec ( )
virtual
virtual const FEC_TLV& inet::LDPLabelMapping::getFec ( ) const
inlinevirtual

Referenced by getFec().

200 {return const_cast<LDPLabelMapping*>(this)->getFec();}
virtual FEC_TLV & getFec()
LDPLabelMapping(const char *name=nullptr, short kind=0)
virtual int inet::LDPLabelMapping::getLabel ( ) const
virtual
LDPLabelMapping& inet::LDPLabelMapping::operator= ( const LDPLabelMapping other)
bool inet::LDPLabelMapping::operator== ( const LDPLabelMapping )
protected
virtual void inet::LDPLabelMapping::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::LDPPacket.

Referenced by inet::doParsimPacking().

virtual void inet::LDPLabelMapping::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual

Reimplemented from inet::LDPPacket.

Referenced by inet::doParsimUnpacking().

virtual void inet::LDPLabelMapping::setFec ( const FEC_TLV fec)
virtual

Referenced by inet::LDP::sendMapping().

virtual void inet::LDPLabelMapping::setLabel ( int  label)
virtual

Referenced by inet::LDP::sendMapping().

Member Data Documentation

FEC_TLV inet::LDPLabelMapping::fec
protected
int inet::LDPLabelMapping::label
protected

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