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

Class generated from inet/transportlayer/contract/udp/UdpControlInfo.msg:235 by opp_msgtool. More...

#include <UdpControlInfo_m.h>

Inheritance diagram for inet::UdpSetMulticastInterfaceCommand:
inet::UdpSetOptionCommand inet::UdpControlInfo

Public Member Functions

 UdpSetMulticastInterfaceCommand ()
 
 UdpSetMulticastInterfaceCommand (const UdpSetMulticastInterfaceCommand &other)
 
virtual ~UdpSetMulticastInterfaceCommand ()
 
UdpSetMulticastInterfaceCommandoperator= (const UdpSetMulticastInterfaceCommand &other)
 
virtual UdpSetMulticastInterfaceCommanddup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual int getInterfaceId () const
 
virtual void setInterfaceId (int interfaceId)
 
- Public Member Functions inherited from inet::UdpSetOptionCommand
 UdpSetOptionCommand ()
 
 UdpSetOptionCommand (const UdpSetOptionCommand &other)
 
virtual ~UdpSetOptionCommand ()
 
UdpSetOptionCommandoperator= (const UdpSetOptionCommand &other)
 
virtual UdpSetOptionSubcode getOptionCode () const
 
virtual void setOptionCode (UdpSetOptionSubcode optionCode)
 
- Public Member Functions inherited from inet::UdpControlInfo
 UdpControlInfo ()
 
 UdpControlInfo (const UdpControlInfo &other)
 
virtual ~UdpControlInfo ()
 
UdpControlInfooperator= (const UdpControlInfo &other)
 

Protected Member Functions

bool operator== (const UdpSetMulticastInterfaceCommand &)=delete
 
- Protected Member Functions inherited from inet::UdpSetOptionCommand
bool operator== (const UdpSetOptionCommand &)=delete
 
- Protected Member Functions inherited from inet::UdpControlInfo
bool operator== (const UdpControlInfo &)=delete
 

Protected Attributes

int interfaceId = 0
 
- Protected Attributes inherited from inet::UdpSetOptionCommand
UdpSetOptionSubcode optionCode = static_cast<UdpSetOptionSubcode>(-1)
 

Private Member Functions

void copy (const UdpSetMulticastInterfaceCommand &other)
 

Detailed Description

Class generated from inet/transportlayer/contract/udp/UdpControlInfo.msg:235 by opp_msgtool.

//
// Control info for setting the multicast output interface for an UDP socket.
// 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.
//
// @see ~UdpCommandCode
//
class UdpSetMulticastInterfaceCommand extends UdpSetOptionCommand
{
    optionCode = UDP_C_SETOPTION_MCAST_IFACE;
    int interfaceId;
}

Constructor & Destructor Documentation

◆ UdpSetMulticastInterfaceCommand() [1/2]

inet::UdpSetMulticastInterfaceCommand::UdpSetMulticastInterfaceCommand ( )

◆ UdpSetMulticastInterfaceCommand() [2/2]

inet::UdpSetMulticastInterfaceCommand::UdpSetMulticastInterfaceCommand ( const UdpSetMulticastInterfaceCommand other)

◆ ~UdpSetMulticastInterfaceCommand()

virtual inet::UdpSetMulticastInterfaceCommand::~UdpSetMulticastInterfaceCommand ( )
virtual

Member Function Documentation

◆ copy()

void inet::UdpSetMulticastInterfaceCommand::copy ( const UdpSetMulticastInterfaceCommand other)
private

◆ dup()

virtual UdpSetMulticastInterfaceCommand* inet::UdpSetMulticastInterfaceCommand::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::UdpSetOptionCommand.

727 {return new UdpSetMulticastInterfaceCommand(*this);}

◆ getInterfaceId()

virtual int inet::UdpSetMulticastInterfaceCommand::getInterfaceId ( ) const
virtual

◆ operator=()

UdpSetMulticastInterfaceCommand& inet::UdpSetMulticastInterfaceCommand::operator= ( const UdpSetMulticastInterfaceCommand other)

◆ operator==()

bool inet::UdpSetMulticastInterfaceCommand::operator== ( const UdpSetMulticastInterfaceCommand )
protecteddelete

◆ parsimPack()

virtual void inet::UdpSetMulticastInterfaceCommand::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::UdpSetOptionCommand.

Referenced by inet::doParsimPacking().

◆ parsimUnpack()

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

Reimplemented from inet::UdpSetOptionCommand.

Referenced by inet::doParsimUnpacking().

◆ setInterfaceId()

virtual void inet::UdpSetMulticastInterfaceCommand::setInterfaceId ( int  interfaceId)
virtual

Member Data Documentation

◆ interfaceId

int inet::UdpSetMulticastInterfaceCommand::interfaceId = 0
protected

The documentation for this class was generated from the following file:
inet::UdpSetMulticastInterfaceCommand::UdpSetMulticastInterfaceCommand
UdpSetMulticastInterfaceCommand()