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

Class generated from inet/routing/pim/PIMPacket.msg:172 by nedtool. More...

#include <PIMPacket_m.h>

Inheritance diagram for inet::PIMStateRefresh:
inet::PIMPacket

Public Member Functions

 PIMStateRefresh (const char *name=nullptr, short kind=0)
 
 PIMStateRefresh (const PIMStateRefresh &other)
 
virtual ~PIMStateRefresh ()
 
PIMStateRefreshoperator= (const PIMStateRefresh &other)
 
virtual PIMStateRefreshdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual IPv4AddressgetGroupAddress ()
 
virtual const IPv4AddressgetGroupAddress () const
 
virtual void setGroupAddress (const IPv4Address &groupAddress)
 
virtual IPv4AddressgetSourceAddress ()
 
virtual const IPv4AddressgetSourceAddress () const
 
virtual void setSourceAddress (const IPv4Address &sourceAddress)
 
virtual IPv4AddressgetOriginatorAddress ()
 
virtual const IPv4AddressgetOriginatorAddress () const
 
virtual void setOriginatorAddress (const IPv4Address &originatorAddress)
 
virtual int getMetric () const
 
virtual void setMetric (int metric)
 
virtual int getMetricPreference () const
 
virtual void setMetricPreference (int metricPreference)
 
virtual short getMaskLen () const
 
virtual void setMaskLen (short maskLen)
 
virtual short getTtl () const
 
virtual void setTtl (short ttl)
 
virtual bool getP () const
 
virtual void setP (bool P)
 
virtual int getInterval () const
 
virtual void setInterval (int interval)
 
- Public Member Functions inherited from inet::PIMPacket
 PIMPacket (const char *name=nullptr, short kind=0)
 
 PIMPacket (const PIMPacket &other)
 
virtual ~PIMPacket ()
 
PIMPacketoperator= (const PIMPacket &other)
 
virtual short getVersion () const
 
virtual void setVersion (short version)
 
virtual short getType () const
 
virtual void setType (short type)
 

Protected Member Functions

bool operator== (const PIMStateRefresh &)
 
- Protected Member Functions inherited from inet::PIMPacket
bool operator== (const PIMPacket &)
 

Protected Attributes

IPv4Address groupAddress
 
IPv4Address sourceAddress
 
IPv4Address originatorAddress
 
int metric
 
int metricPreference
 
short maskLen
 
short ttl
 
bool P
 
int interval
 
- Protected Attributes inherited from inet::PIMPacket
short version
 
short type
 

Private Member Functions

void copy (const PIMStateRefresh &other)
 

Detailed Description

Class generated from inet/routing/pim/PIMPacket.msg:172 by nedtool.

// State Refresh message
// DM
packet PIMStateRefresh extends PIMPacket
{
    type = StateRefresh;
    IPv4Address groupAddress;
    IPv4Address sourceAddress;
    IPv4Address originatorAddress;
    int metric;
    int metricPreference;
    short maskLen;
    short ttl;
    bool P;
    int interval;
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::PIMPacket.

726 {return new PIMStateRefresh(*this);}
PIMStateRefresh(const char *name=nullptr, short kind=0)
virtual IPv4Address& inet::PIMStateRefresh::getGroupAddress ( )
virtual
virtual const IPv4Address& inet::PIMStateRefresh::getGroupAddress ( ) const
inlinevirtual

Referenced by getGroupAddress().

732 {return const_cast<PIMStateRefresh*>(this)->getGroupAddress();}
virtual IPv4Address & getGroupAddress()
PIMStateRefresh(const char *name=nullptr, short kind=0)
virtual int inet::PIMStateRefresh::getInterval ( ) const
virtual
virtual short inet::PIMStateRefresh::getMaskLen ( ) const
virtual
virtual int inet::PIMStateRefresh::getMetric ( ) const
virtual
virtual int inet::PIMStateRefresh::getMetricPreference ( ) const
virtual
virtual IPv4Address& inet::PIMStateRefresh::getOriginatorAddress ( )
virtual
virtual const IPv4Address& inet::PIMStateRefresh::getOriginatorAddress ( ) const
inlinevirtual

Referenced by getOriginatorAddress().

738 {return const_cast<PIMStateRefresh*>(this)->getOriginatorAddress();}
virtual IPv4Address & getOriginatorAddress()
PIMStateRefresh(const char *name=nullptr, short kind=0)
virtual bool inet::PIMStateRefresh::getP ( ) const
virtual
virtual IPv4Address& inet::PIMStateRefresh::getSourceAddress ( )
virtual
virtual const IPv4Address& inet::PIMStateRefresh::getSourceAddress ( ) const
inlinevirtual

Referenced by getSourceAddress().

735 {return const_cast<PIMStateRefresh*>(this)->getSourceAddress();}
PIMStateRefresh(const char *name=nullptr, short kind=0)
virtual IPv4Address & getSourceAddress()
virtual short inet::PIMStateRefresh::getTtl ( ) const
virtual
PIMStateRefresh& inet::PIMStateRefresh::operator= ( const PIMStateRefresh other)
bool inet::PIMStateRefresh::operator== ( const PIMStateRefresh )
protected
virtual void inet::PIMStateRefresh::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::PIMPacket.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::PIMPacket.

Referenced by inet::doParsimUnpacking().

virtual void inet::PIMStateRefresh::setGroupAddress ( const IPv4Address groupAddress)
virtual
virtual void inet::PIMStateRefresh::setInterval ( int  interval)
virtual
virtual void inet::PIMStateRefresh::setMaskLen ( short  maskLen)
virtual
virtual void inet::PIMStateRefresh::setMetric ( int  metric)
virtual
virtual void inet::PIMStateRefresh::setMetricPreference ( int  metricPreference)
virtual
virtual void inet::PIMStateRefresh::setOriginatorAddress ( const IPv4Address originatorAddress)
virtual
virtual void inet::PIMStateRefresh::setP ( bool  P)
virtual
virtual void inet::PIMStateRefresh::setSourceAddress ( const IPv4Address sourceAddress)
virtual
virtual void inet::PIMStateRefresh::setTtl ( short  ttl)
virtual

Member Data Documentation

IPv4Address inet::PIMStateRefresh::groupAddress
protected
int inet::PIMStateRefresh::interval
protected
short inet::PIMStateRefresh::maskLen
protected
int inet::PIMStateRefresh::metric
protected
int inet::PIMStateRefresh::metricPreference
protected
IPv4Address inet::PIMStateRefresh::originatorAddress
protected
bool inet::PIMStateRefresh::P
protected
IPv4Address inet::PIMStateRefresh::sourceAddress
protected
short inet::PIMStateRefresh::ttl
protected

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