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

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

#include <LDPPacket_m.h>

Inheritance diagram for inet::LDPHello:
inet::LDPPacket

Public Member Functions

 LDPHello (const char *name=nullptr, short kind=0)
 
 LDPHello (const LDPHello &other)
 
virtual ~LDPHello ()
 
LDPHellooperator= (const LDPHello &other)
 
virtual LDPHellodup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual double getHoldTime () const
 
virtual void setHoldTime (double holdTime)
 
virtual bool getTbit () const
 
virtual void setTbit (bool tbit)
 
virtual bool getRbit () const
 
virtual void setRbit (bool rbit)
 
- 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 LDPHello &)
 
- Protected Member Functions inherited from inet::LDPPacket
bool operator== (const LDPPacket &)
 

Protected Attributes

double holdTime
 
bool tbit
 
bool rbit
 
- Protected Attributes inherited from inet::LDPPacket
int type
 
IPv4Address senderAddress
 
IPv4Address receiverAddress
 

Private Member Functions

void copy (const LDPHello &other)
 

Detailed Description

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

//
// LDP Hello Message
//
packet LDPHello extends LDPPacket
{
    double holdTime;
    bool tbit;
    bool rbit;
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::LDPPacket.

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

284 {return new LDPHello(*this);}
LDPHello(const char *name=nullptr, short kind=0)
virtual double inet::LDPHello::getHoldTime ( ) const
virtual
virtual bool inet::LDPHello::getRbit ( ) const
virtual
virtual bool inet::LDPHello::getTbit ( ) const
virtual
LDPHello& inet::LDPHello::operator= ( const LDPHello other)
bool inet::LDPHello::operator== ( const LDPHello )
protected
virtual void inet::LDPHello::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::LDPPacket.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::LDPPacket.

Referenced by inet::doParsimUnpacking().

virtual void inet::LDPHello::setHoldTime ( double  holdTime)
virtual

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

virtual void inet::LDPHello::setRbit ( bool  rbit)
virtual
virtual void inet::LDPHello::setTbit ( bool  tbit)
virtual

Member Data Documentation

double inet::LDPHello::holdTime
protected
bool inet::LDPHello::rbit
protected
bool inet::LDPHello::tbit
protected

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