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

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

#include <PIMPacket_m.h>

Inheritance diagram for inet::PIMJoinPrune:
inet::PIMPacket inet::PIMGraft inet::PIMGraftAck

Public Member Functions

 PIMJoinPrune (const char *name=nullptr, short kind=0)
 
 PIMJoinPrune (const PIMJoinPrune &other)
 
virtual ~PIMJoinPrune ()
 
PIMJoinPruneoperator= (const PIMJoinPrune &other)
 
virtual PIMJoinPrunedup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual IPv4AddressgetUpstreamNeighborAddress ()
 
virtual const IPv4AddressgetUpstreamNeighborAddress () const
 
virtual void setUpstreamNeighborAddress (const IPv4Address &upstreamNeighborAddress)
 
virtual int getHoldTime () const
 
virtual void setHoldTime (int holdTime)
 
virtual void setJoinPruneGroupsArraySize (unsigned int size)
 
virtual unsigned int getJoinPruneGroupsArraySize () const
 
virtual JoinPruneGroupgetJoinPruneGroups (unsigned int k)
 
virtual const JoinPruneGroupgetJoinPruneGroups (unsigned int k) const
 
virtual void setJoinPruneGroups (unsigned int k, const JoinPruneGroup &joinPruneGroups)
 
- 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 PIMJoinPrune &)
 
- Protected Member Functions inherited from inet::PIMPacket
bool operator== (const PIMPacket &)
 

Protected Attributes

IPv4Address upstreamNeighborAddress
 
int holdTime
 
JoinPruneGroupjoinPruneGroups
 
unsigned int joinPruneGroups_arraysize
 
- Protected Attributes inherited from inet::PIMPacket
short version
 
short type
 

Private Member Functions

void copy (const PIMJoinPrune &other)
 

Detailed Description

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

// Join/Prune message
// DM, SM
packet PIMJoinPrune extends PIMPacket
{
    type = JoinPrune;
    IPv4Address upstreamNeighborAddress;
    int holdTime;
    //int                numGroups;
    JoinPruneGroup joinPruneGroups[];
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::PIMPacket.

Reimplemented in inet::PIMGraftAck, and inet::PIMGraft.

527 {return new PIMJoinPrune(*this);}
PIMJoinPrune(const char *name=nullptr, short kind=0)
virtual int inet::PIMJoinPrune::getHoldTime ( ) const
virtual
virtual const JoinPruneGroup& inet::PIMJoinPrune::getJoinPruneGroups ( unsigned int  k) const
inlinevirtual

Referenced by getJoinPruneGroups().

540 {return const_cast<PIMJoinPrune*>(this)->getJoinPruneGroups(k);}
virtual JoinPruneGroup & getJoinPruneGroups(unsigned int k)
PIMJoinPrune(const char *name=nullptr, short kind=0)
const double k
Definition: QAM16Modulation.cc:24
virtual unsigned int inet::PIMJoinPrune::getJoinPruneGroupsArraySize ( ) const
virtual
virtual IPv4Address& inet::PIMJoinPrune::getUpstreamNeighborAddress ( )
virtual
virtual const IPv4Address& inet::PIMJoinPrune::getUpstreamNeighborAddress ( ) const
inlinevirtual

Referenced by getUpstreamNeighborAddress().

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

Reimplemented from inet::PIMPacket.

Reimplemented in inet::PIMGraftAck, and inet::PIMGraft.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::PIMPacket.

Reimplemented in inet::PIMGraftAck, and inet::PIMGraft.

Referenced by inet::doParsimUnpacking().

virtual void inet::PIMJoinPrune::setHoldTime ( int  holdTime)
virtual
virtual void inet::PIMJoinPrune::setJoinPruneGroups ( unsigned int  k,
const JoinPruneGroup joinPruneGroups 
)
virtual
virtual void inet::PIMJoinPrune::setJoinPruneGroupsArraySize ( unsigned int  size)
virtual
virtual void inet::PIMJoinPrune::setUpstreamNeighborAddress ( const IPv4Address upstreamNeighborAddress)
virtual

Member Data Documentation

int inet::PIMJoinPrune::holdTime
protected
JoinPruneGroup* inet::PIMJoinPrune::joinPruneGroups
protected
unsigned int inet::PIMJoinPrune::joinPruneGroups_arraysize
protected
IPv4Address inet::PIMJoinPrune::upstreamNeighborAddress
protected

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