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

Class generated from inet/transportlayer/contract/udp/UDPControlInfo.msg:266 by nedtool. More...

#include <UDPControlInfo_m.h>

Inheritance diagram for inet::UDPJoinMulticastGroupsCommand:
inet::UDPSetOptionCommand inet::UDPControlInfo

Public Member Functions

 UDPJoinMulticastGroupsCommand ()
 
 UDPJoinMulticastGroupsCommand (const UDPJoinMulticastGroupsCommand &other)
 
virtual ~UDPJoinMulticastGroupsCommand ()
 
UDPJoinMulticastGroupsCommandoperator= (const UDPJoinMulticastGroupsCommand &other)
 
virtual UDPJoinMulticastGroupsCommanddup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual void setMulticastAddrArraySize (unsigned int size)
 
virtual unsigned int getMulticastAddrArraySize () const
 
virtual L3AddressgetMulticastAddr (unsigned int k)
 
virtual const L3AddressgetMulticastAddr (unsigned int k) const
 
virtual void setMulticastAddr (unsigned int k, const L3Address &multicastAddr)
 
virtual void setInterfaceIdArraySize (unsigned int size)
 
virtual unsigned int getInterfaceIdArraySize () const
 
virtual int getInterfaceId (unsigned int k) const
 
virtual void setInterfaceId (unsigned int k, int interfaceId)
 
- Public Member Functions inherited from inet::UDPSetOptionCommand
 UDPSetOptionCommand ()
 
 UDPSetOptionCommand (const UDPSetOptionCommand &other)
 
virtual ~UDPSetOptionCommand ()
 
UDPSetOptionCommandoperator= (const UDPSetOptionCommand &other)
 
- Public Member Functions inherited from inet::UDPControlInfo
 UDPControlInfo ()
 
 UDPControlInfo (const UDPControlInfo &other)
 
virtual ~UDPControlInfo ()
 
UDPControlInfooperator= (const UDPControlInfo &other)
 
virtual int getSockId () const
 
virtual void setSockId (int sockId)
 

Protected Member Functions

bool operator== (const UDPJoinMulticastGroupsCommand &)
 
- Protected Member Functions inherited from inet::UDPSetOptionCommand
bool operator== (const UDPSetOptionCommand &)
 
- Protected Member Functions inherited from inet::UDPControlInfo
bool operator== (const UDPControlInfo &)
 

Protected Attributes

L3AddressmulticastAddr
 
unsigned int multicastAddr_arraysize
 
int * interfaceId
 
unsigned int interfaceId_arraysize
 
- Protected Attributes inherited from inet::UDPControlInfo
int sockId
 

Private Member Functions

void copy (const UDPJoinMulticastGroupsCommand &other)
 

Detailed Description

Class generated from inet/transportlayer/contract/udp/UDPControlInfo.msg:266 by nedtool.

//
// Control info for letting an UDP socket join multicast groups.
// To set the option, send a message to the ~UDP module with kind=UDP_C_SETOPTION
// and an and instance of this control info class attached.
//
// The address-interfaceId pairs are passed as two separate arrays.
// When there are less interfaceIds than multicast addresses,
// then -1 is assumed (meaning join on all interfaces).
//
// @see ~UDPCommandCode
//
class UDPJoinMulticastGroupsCommand extends UDPSetOptionCommand
{
    L3Address multicastAddr[];
    int interfaceId[];
}

Constructor & Destructor Documentation

inet::UDPJoinMulticastGroupsCommand::UDPJoinMulticastGroupsCommand ( )
inet::UDPJoinMulticastGroupsCommand::UDPJoinMulticastGroupsCommand ( const UDPJoinMulticastGroupsCommand other)
virtual inet::UDPJoinMulticastGroupsCommand::~UDPJoinMulticastGroupsCommand ( )
virtual

Member Function Documentation

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

Reimplemented from inet::UDPSetOptionCommand.

virtual int inet::UDPJoinMulticastGroupsCommand::getInterfaceId ( unsigned int  k) const
virtual
virtual unsigned int inet::UDPJoinMulticastGroupsCommand::getInterfaceIdArraySize ( ) const
virtual
virtual L3Address& inet::UDPJoinMulticastGroupsCommand::getMulticastAddr ( unsigned int  k)
virtual
virtual const L3Address& inet::UDPJoinMulticastGroupsCommand::getMulticastAddr ( unsigned int  k) const
inlinevirtual

Referenced by getMulticastAddr().

835 {return const_cast<UDPJoinMulticastGroupsCommand*>(this)->getMulticastAddr(k);}
virtual L3Address & getMulticastAddr(unsigned int k)
const double k
Definition: QAM16Modulation.cc:24
virtual unsigned int inet::UDPJoinMulticastGroupsCommand::getMulticastAddrArraySize ( ) const
virtual
UDPJoinMulticastGroupsCommand& inet::UDPJoinMulticastGroupsCommand::operator= ( const UDPJoinMulticastGroupsCommand other)
bool inet::UDPJoinMulticastGroupsCommand::operator== ( const UDPJoinMulticastGroupsCommand )
protected
virtual void inet::UDPJoinMulticastGroupsCommand::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::UDPSetOptionCommand.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::UDPSetOptionCommand.

Referenced by inet::doParsimUnpacking().

virtual void inet::UDPJoinMulticastGroupsCommand::setInterfaceId ( unsigned int  k,
int  interfaceId 
)
virtual
virtual void inet::UDPJoinMulticastGroupsCommand::setInterfaceIdArraySize ( unsigned int  size)
virtual
virtual void inet::UDPJoinMulticastGroupsCommand::setMulticastAddr ( unsigned int  k,
const L3Address multicastAddr 
)
virtual
virtual void inet::UDPJoinMulticastGroupsCommand::setMulticastAddrArraySize ( unsigned int  size)
virtual

Member Data Documentation

int* inet::UDPJoinMulticastGroupsCommand::interfaceId
protected
unsigned int inet::UDPJoinMulticastGroupsCommand::interfaceId_arraysize
protected
L3Address* inet::UDPJoinMulticastGroupsCommand::multicastAddr
protected
unsigned int inet::UDPJoinMulticastGroupsCommand::multicastAddr_arraysize
protected

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