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

Class generated from inet/networklayer/xmipv6/MobilityHeader.msg:59 by nedtool. More...

#include <MobilityHeader_m.h>

Inheritance diagram for inet::BindingUpdate:
inet::MobilityHeader

Public Member Functions

 BindingUpdate (const char *name=nullptr, short kind=0)
 
 BindingUpdate (const BindingUpdate &other)
 
virtual ~BindingUpdate ()
 
BindingUpdateoperator= (const BindingUpdate &other)
 
virtual BindingUpdatedup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual unsigned int getLifetime () const
 
virtual void setLifetime (unsigned int lifetime)
 
virtual unsigned int getSequence () const
 
virtual void setSequence (unsigned int sequence)
 
virtual bool getAckFlag () const
 
virtual void setAckFlag (bool ackFlag)
 
virtual bool getHomeRegistrationFlag () const
 
virtual void setHomeRegistrationFlag (bool homeRegistrationFlag)
 
virtual bool getLinkLocalAddressCompatibilityFlag () const
 
virtual void setLinkLocalAddressCompatibilityFlag (bool linkLocalAddressCompatibilityFlag)
 
virtual bool getKeyManagementFlag () const
 
virtual void setKeyManagementFlag (bool keyManagementFlag)
 
virtual IPv6AddressgetHomeAddressMN ()
 
virtual const IPv6AddressgetHomeAddressMN () const
 
virtual void setHomeAddressMN (const IPv6Address &homeAddressMN)
 
virtual int getBindingAuthorizationData () const
 
virtual void setBindingAuthorizationData (int bindingAuthorizationData)
 
- Public Member Functions inherited from inet::MobilityHeader
 MobilityHeader (const char *name=nullptr, short kind=0)
 
 MobilityHeader (const MobilityHeader &other)
 
virtual ~MobilityHeader ()
 
MobilityHeaderoperator= (const MobilityHeader &other)
 
virtual int getMobilityHeaderType () const
 
virtual void setMobilityHeaderType (int mobilityHeaderType)
 

Protected Member Functions

bool operator== (const BindingUpdate &)
 
- Protected Member Functions inherited from inet::MobilityHeader
bool operator== (const MobilityHeader &)
 

Protected Attributes

unsigned int lifetime
 
unsigned int sequence
 
bool ackFlag
 
bool homeRegistrationFlag
 
bool linkLocalAddressCompatibilityFlag
 
bool keyManagementFlag
 
IPv6Address homeAddressMN
 
int bindingAuthorizationData
 
- Protected Attributes inherited from inet::MobilityHeader
int mobilityHeaderType
 

Private Member Functions

void copy (const BindingUpdate &other)
 

Detailed Description

Class generated from inet/networklayer/xmipv6/MobilityHeader.msg:59 by nedtool.

packet BindingUpdate extends MobilityHeader
{
    unsigned int lifetime;
    unsigned int sequence;
    bool ackFlag;                //A-Flag (Acknowledge Flag)
    bool homeRegistrationFlag;        //H-Flag (Home Registration Flag)
    bool linkLocalAddressCompatibilityFlag;    //L-Flag (Link Local Address Compatibility Flag)
    bool keyManagementFlag = false;        //K-Flag (Key Management Flag)
    //Mobility Options not defined
    IPv6Address homeAddressMN;        //As BU is supposed to be sent with Home Address Option, therefore i make this part of BU Msg.
    // for CN communication; value different from 0 shows that it is used
    int bindingAuthorizationData = 0; // 28.08.07 - CB
}
//Defining the status fields for the Binding Acknowledgement Message

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::MobilityHeader.

152 {return new BindingUpdate(*this);}
BindingUpdate(const char *name=nullptr, short kind=0)
virtual bool inet::BindingUpdate::getAckFlag ( ) const
virtual
virtual int inet::BindingUpdate::getBindingAuthorizationData ( ) const
virtual
virtual const IPv6Address& inet::BindingUpdate::getHomeAddressMN ( ) const
inlinevirtual

Referenced by getHomeAddressMN().

170 {return const_cast<BindingUpdate*>(this)->getHomeAddressMN();}
virtual IPv6Address & getHomeAddressMN()
BindingUpdate(const char *name=nullptr, short kind=0)
virtual bool inet::BindingUpdate::getHomeRegistrationFlag ( ) const
virtual
virtual bool inet::BindingUpdate::getKeyManagementFlag ( ) const
virtual
virtual unsigned int inet::BindingUpdate::getLifetime ( ) const
virtual
virtual bool inet::BindingUpdate::getLinkLocalAddressCompatibilityFlag ( ) const
virtual
virtual unsigned int inet::BindingUpdate::getSequence ( ) const
virtual
BindingUpdate& inet::BindingUpdate::operator= ( const BindingUpdate other)
bool inet::BindingUpdate::operator== ( const BindingUpdate )
protected
virtual void inet::BindingUpdate::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::MobilityHeader.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::MobilityHeader.

Referenced by inet::doParsimUnpacking().

virtual void inet::BindingUpdate::setAckFlag ( bool  ackFlag)
virtual
virtual void inet::BindingUpdate::setBindingAuthorizationData ( int  bindingAuthorizationData)
virtual
virtual void inet::BindingUpdate::setHomeAddressMN ( const IPv6Address homeAddressMN)
virtual
virtual void inet::BindingUpdate::setHomeRegistrationFlag ( bool  homeRegistrationFlag)
virtual
virtual void inet::BindingUpdate::setKeyManagementFlag ( bool  keyManagementFlag)
virtual
virtual void inet::BindingUpdate::setLifetime ( unsigned int  lifetime)
virtual
virtual void inet::BindingUpdate::setLinkLocalAddressCompatibilityFlag ( bool  linkLocalAddressCompatibilityFlag)
virtual
virtual void inet::BindingUpdate::setSequence ( unsigned int  sequence)
virtual

Member Data Documentation

bool inet::BindingUpdate::ackFlag
protected
int inet::BindingUpdate::bindingAuthorizationData
protected
IPv6Address inet::BindingUpdate::homeAddressMN
protected
bool inet::BindingUpdate::homeRegistrationFlag
protected
bool inet::BindingUpdate::keyManagementFlag
protected
unsigned int inet::BindingUpdate::lifetime
protected
bool inet::BindingUpdate::linkLocalAddressCompatibilityFlag
protected
unsigned int inet::BindingUpdate::sequence
protected

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