INET Framework for OMNeT++/OMNEST
inet::bgp::BgpUpdatePathAttributesAggregator Class Reference

Class generated from inet/routing/bgpv4/bgpmessage/BgpHeader.msg:185 by opp_msgtool. More...

#include <BgpHeader_m.h>

Inheritance diagram for inet::bgp::BgpUpdatePathAttributesAggregator:
inet::bgp::BgpUpdatePathAttributes

Public Member Functions

 BgpUpdatePathAttributesAggregator ()
 
 BgpUpdatePathAttributesAggregator (const BgpUpdatePathAttributesAggregator &other)
 
virtual ~BgpUpdatePathAttributesAggregator ()
 
BgpUpdatePathAttributesAggregatoroperator= (const BgpUpdatePathAttributesAggregator &other)
 
virtual BgpUpdatePathAttributesAggregatordup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual uint16_t getAsNumber () const
 
virtual void setAsNumber (uint16_t asNumber)
 
virtual const ::inet::Ipv4AddressgetBgpSpeaker () const
 
virtual ::inet::Ipv4AddressgetBgpSpeakerForUpdate ()
 
virtual void setBgpSpeaker (const ::inet::Ipv4Address &bgpSpeaker)
 
- Public Member Functions inherited from inet::bgp::BgpUpdatePathAttributes
 BgpUpdatePathAttributes ()
 
 BgpUpdatePathAttributes (const BgpUpdatePathAttributes &other)
 
virtual ~BgpUpdatePathAttributes ()
 
BgpUpdatePathAttributesoperator= (const BgpUpdatePathAttributes &other)
 
virtual bool getOptionalBit () const
 
virtual void setOptionalBit (bool optionalBit)
 
virtual bool getTransitiveBit () const
 
virtual void setTransitiveBit (bool transitiveBit)
 
virtual bool getPartialBit () const
 
virtual void setPartialBit (bool partialBit)
 
virtual bool getExtendedLengthBit () const
 
virtual void setExtendedLengthBit (bool extendedLengthBit)
 
virtual unsigned short getReserved () const
 
virtual void setReserved (unsigned short reserved)
 
virtual BgpUpdateAttributeTypeCode getTypeCode () const
 
virtual void setTypeCode (BgpUpdateAttributeTypeCode typeCode)
 
virtual unsigned short getLength () const
 
virtual void setLength (unsigned short length)
 

Protected Member Functions

bool operator== (const BgpUpdatePathAttributesAggregator &)=delete
 
- Protected Member Functions inherited from inet::bgp::BgpUpdatePathAttributes
bool operator== (const BgpUpdatePathAttributes &)=delete
 

Protected Attributes

uint16_t asNumber = 0
 
::inet::Ipv4Address bgpSpeaker
 
- Protected Attributes inherited from inet::bgp::BgpUpdatePathAttributes
bool optionalBit = false
 
bool transitiveBit = false
 
bool partialBit = false
 
bool extendedLengthBit = false
 
unsigned short reserved = 0
 
BgpUpdateAttributeTypeCode typeCode = static_cast<inet::bgp::BgpUpdateAttributeTypeCode>(-1)
 
unsigned short length = 0
 

Private Member Functions

void copy (const BgpUpdatePathAttributesAggregator &other)
 

Detailed Description

Class generated from inet/routing/bgpv4/bgpmessage/BgpHeader.msg:185 by opp_msgtool.

class BgpUpdatePathAttributesAggregator extends BgpUpdatePathAttributes
{
    typeCode = AGGREGATOR;
    optionalBit = true;
    transitiveBit = true;
    length = 6;
    uint16_t asNumber;
    Ipv4Address bgpSpeaker;
}

Constructor & Destructor Documentation

◆ BgpUpdatePathAttributesAggregator() [1/2]

inet::bgp::BgpUpdatePathAttributesAggregator::BgpUpdatePathAttributesAggregator ( )

◆ BgpUpdatePathAttributesAggregator() [2/2]

inet::bgp::BgpUpdatePathAttributesAggregator::BgpUpdatePathAttributesAggregator ( const BgpUpdatePathAttributesAggregator other)

◆ ~BgpUpdatePathAttributesAggregator()

virtual inet::bgp::BgpUpdatePathAttributesAggregator::~BgpUpdatePathAttributesAggregator ( )
virtual

Member Function Documentation

◆ copy()

void inet::bgp::BgpUpdatePathAttributesAggregator::copy ( const BgpUpdatePathAttributesAggregator other)
private

◆ dup()

virtual BgpUpdatePathAttributesAggregator* inet::bgp::BgpUpdatePathAttributesAggregator::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::bgp::BgpUpdatePathAttributes.

785 {return new BgpUpdatePathAttributesAggregator(*this);}

◆ getAsNumber()

virtual uint16_t inet::bgp::BgpUpdatePathAttributesAggregator::getAsNumber ( ) const
virtual

◆ getBgpSpeaker()

virtual const ::inet::Ipv4Address& inet::bgp::BgpUpdatePathAttributesAggregator::getBgpSpeaker ( ) const
virtual

◆ getBgpSpeakerForUpdate()

virtual ::inet::Ipv4Address& inet::bgp::BgpUpdatePathAttributesAggregator::getBgpSpeakerForUpdate ( )
inline
793 { return const_cast<::inet::Ipv4Address&>(const_cast<BgpUpdatePathAttributesAggregator*>(this)->getBgpSpeaker());}

◆ operator=()

BgpUpdatePathAttributesAggregator& inet::bgp::BgpUpdatePathAttributesAggregator::operator= ( const BgpUpdatePathAttributesAggregator other)

◆ operator==()

bool inet::bgp::BgpUpdatePathAttributesAggregator::operator== ( const BgpUpdatePathAttributesAggregator )
protecteddelete

◆ parsimPack()

virtual void inet::bgp::BgpUpdatePathAttributesAggregator::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

◆ parsimUnpack()

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

◆ setAsNumber()

virtual void inet::bgp::BgpUpdatePathAttributesAggregator::setAsNumber ( uint16_t  asNumber)
virtual

◆ setBgpSpeaker()

virtual void inet::bgp::BgpUpdatePathAttributesAggregator::setBgpSpeaker ( const ::inet::Ipv4Address bgpSpeaker)
virtual

Member Data Documentation

◆ asNumber

uint16_t inet::bgp::BgpUpdatePathAttributesAggregator::asNumber = 0
protected

◆ bgpSpeaker

::inet::Ipv4Address inet::bgp::BgpUpdatePathAttributesAggregator::bgpSpeaker
protected

The documentation for this class was generated from the following file:
inet::Ipv4Address
Ipv4 address.
Definition: Ipv4Address.h:34
inet::bgp::BgpUpdatePathAttributesAggregator::getBgpSpeaker
virtual const ::inet::Ipv4Address & getBgpSpeaker() const
inet::bgp::BgpUpdatePathAttributesAggregator::BgpUpdatePathAttributesAggregator
BgpUpdatePathAttributesAggregator()