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

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

#include <PIMPacket_m.h>

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

Public Member Functions

 PIMGraft (const char *name=nullptr, short kind=0)
 
 PIMGraft (const PIMGraft &other)
 
virtual ~PIMGraft ()
 
PIMGraftoperator= (const PIMGraft &other)
 
virtual PIMGraftdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
- Public Member Functions inherited from inet::PIMJoinPrune
 PIMJoinPrune (const char *name=nullptr, short kind=0)
 
 PIMJoinPrune (const PIMJoinPrune &other)
 
virtual ~PIMJoinPrune ()
 
PIMJoinPruneoperator= (const PIMJoinPrune &other)
 
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 PIMGraft &)
 
- Protected Member Functions inherited from inet::PIMJoinPrune
bool operator== (const PIMJoinPrune &)
 
- Protected Member Functions inherited from inet::PIMPacket
bool operator== (const PIMPacket &)
 

Private Member Functions

void copy (const PIMGraft &other)
 

Additional Inherited Members

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

Detailed Description

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

// Graft message, only message send by unicast
// DM
packet PIMGraft extends PIMJoinPrune
{
    type = Graft;
    holdTime = 0;
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::PIMJoinPrune.

Reimplemented in inet::PIMGraftAck.

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

Reimplemented from inet::PIMJoinPrune.

Reimplemented in inet::PIMGraftAck.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::PIMJoinPrune.

Reimplemented in inet::PIMGraftAck.

Referenced by inet::doParsimUnpacking().


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