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

Class generated from inet/networklayer/ipv4/IGMPMessage.msg:65 by nedtool. More...

#include <IGMPMessage_m.h>

Inheritance diagram for inet::IGMPv2Query:
inet::IGMPQuery inet::IGMPMessage inet::IGMPv3Query_Base inet::IGMPv3Query

Public Member Functions

 IGMPv2Query (const char *name=nullptr, short kind=0)
 
 IGMPv2Query (const IGMPv2Query &other)
 
virtual ~IGMPv2Query ()
 
IGMPv2Queryoperator= (const IGMPv2Query &other)
 
virtual IGMPv2Querydup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual unsigned char getMaxRespTime () const
 
virtual void setMaxRespTime (unsigned char maxRespTime)
 
- Public Member Functions inherited from inet::IGMPQuery
 IGMPQuery (const char *name=nullptr, short kind=0)
 
 IGMPQuery (const IGMPQuery &other)
 
virtual ~IGMPQuery ()
 
IGMPQueryoperator= (const IGMPQuery &other)
 
virtual IPv4AddressgetGroupAddress ()
 
virtual const IPv4AddressgetGroupAddress () const
 
virtual void setGroupAddress (const IPv4Address &groupAddress)
 
- Public Member Functions inherited from inet::IGMPMessage
 IGMPMessage (const char *name=nullptr, short kind=0)
 
 IGMPMessage (const IGMPMessage &other)
 
virtual ~IGMPMessage ()
 
IGMPMessageoperator= (const IGMPMessage &other)
 
virtual int getType () const
 
virtual void setType (int type)
 

Protected Member Functions

bool operator== (const IGMPv2Query &)
 
- Protected Member Functions inherited from inet::IGMPQuery
bool operator== (const IGMPQuery &)
 
- Protected Member Functions inherited from inet::IGMPMessage
bool operator== (const IGMPMessage &)
 

Protected Attributes

unsigned char maxRespTime
 
- Protected Attributes inherited from inet::IGMPQuery
IPv4Address groupAddress
 
- Protected Attributes inherited from inet::IGMPMessage
int type
 

Private Member Functions

void copy (const IGMPv2Query &other)
 

Detailed Description

Class generated from inet/networklayer/ipv4/IGMPMessage.msg:65 by nedtool.

packet IGMPv2Query extends IGMPQuery
{
    type = IGMP_MEMBERSHIP_QUERY;
    unsigned char maxRespTime;
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::IGMPQuery.

Reimplemented in inet::IGMPv3Query_Base, and inet::IGMPv3Query.

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

Reimplemented from inet::IGMPQuery.

Reimplemented in inet::IGMPv3Query_Base.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::IGMPQuery.

Reimplemented in inet::IGMPv3Query_Base.

Referenced by inet::doParsimUnpacking().

virtual void inet::IGMPv2Query::setMaxRespTime ( unsigned char  maxRespTime)
virtual

Member Data Documentation

unsigned char inet::IGMPv2Query::maxRespTime
protected

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