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

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

#include <LDPPacket_m.h>

Inheritance diagram for inet::LDPNotify:
inet::LDPPacket

Public Member Functions

 LDPNotify (const char *name=nullptr, short kind=0)
 
 LDPNotify (const LDPNotify &other)
 
virtual ~LDPNotify ()
 
LDPNotifyoperator= (const LDPNotify &other)
 
virtual LDPNotifydup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual int getStatus () const
 
virtual void setStatus (int status)
 
virtual FEC_TLVgetFec ()
 
virtual const FEC_TLVgetFec () const
 
virtual void setFec (const FEC_TLV &fec)
 
- 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 LDPNotify &)
 
- Protected Member Functions inherited from inet::LDPPacket
bool operator== (const LDPPacket &)
 

Protected Attributes

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

Private Member Functions

void copy (const LDPNotify &other)
 

Detailed Description

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

//
// LDP notification message
//
packet LDPNotify extends LDPPacket
{
    int status;
    FEC_TLV fec;
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::LDPPacket.

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

Referenced by getFec().

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

Reimplemented from inet::LDPPacket.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::LDPPacket.

Referenced by inet::doParsimUnpacking().

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

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

virtual void inet::LDPNotify::setStatus ( int  status)
virtual

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

Member Data Documentation

FEC_TLV inet::LDPNotify::fec
protected
int inet::LDPNotify::status
protected

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