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

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

#include <UdpControlInfo_m.h>

Inheritance diagram for inet::UdpUnblockMulticastSourcesCommand:
inet::UdpSetOptionCommand inet::UdpControlInfo

Public Member Functions

 UdpUnblockMulticastSourcesCommand ()
 
 UdpUnblockMulticastSourcesCommand (const UdpUnblockMulticastSourcesCommand &other)
 
virtual ~UdpUnblockMulticastSourcesCommand ()
 
UdpUnblockMulticastSourcesCommandoperator= (const UdpUnblockMulticastSourcesCommand &other)
 
virtual UdpUnblockMulticastSourcesCommanddup () 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)
 
virtual const L3AddressgetMulticastAddr () const
 
virtual L3AddressgetMulticastAddrForUpdate ()
 
virtual void setMulticastAddr (const L3Address &multicastAddr)
 
virtual void setSourceListArraySize (size_t size)
 
virtual size_t getSourceListArraySize () const
 
virtual const L3AddressgetSourceList (size_t k) const
 
virtual L3AddressgetSourceListForUpdate (size_t k)
 
virtual void setSourceList (size_t k, const L3Address &sourceList)
 
virtual void insertSourceList (size_t k, const L3Address &sourceList)
 
void insertSourceList (const L3Address &sourceList)
 
virtual void appendSourceList (const L3Address &sourceList)
 
virtual void eraseSourceList (size_t k)
 
- 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 UdpUnblockMulticastSourcesCommand &)=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
 
L3Address multicastAddr
 
L3AddresssourceList = nullptr
 
size_t sourceList_arraysize = 0
 
- Protected Attributes inherited from inet::UdpSetOptionCommand
UdpSetOptionSubcode optionCode = static_cast<UdpSetOptionSubcode>(-1)
 

Private Member Functions

void copy (const UdpUnblockMulticastSourcesCommand &other)
 

Detailed Description

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

//
// Control info for letting an UDP socket to permit multicast traffic from
// a previously blocked source.
//
// see IP_UNBLOCK_SOURCE socket option
class UdpUnblockMulticastSourcesCommand extends UdpSetOptionCommand
{
    optionCode = UDP_C_SETOPTION_UNBLOCK_MCAST_SRC;
    int interfaceId;
    L3Address multicastAddr;
    L3Address sourceList[];
}

Constructor & Destructor Documentation

◆ UdpUnblockMulticastSourcesCommand() [1/2]

inet::UdpUnblockMulticastSourcesCommand::UdpUnblockMulticastSourcesCommand ( )

◆ UdpUnblockMulticastSourcesCommand() [2/2]

inet::UdpUnblockMulticastSourcesCommand::UdpUnblockMulticastSourcesCommand ( const UdpUnblockMulticastSourcesCommand other)

◆ ~UdpUnblockMulticastSourcesCommand()

virtual inet::UdpUnblockMulticastSourcesCommand::~UdpUnblockMulticastSourcesCommand ( )
virtual

Member Function Documentation

◆ appendSourceList()

virtual void inet::UdpUnblockMulticastSourcesCommand::appendSourceList ( const L3Address sourceList)
virtual

◆ copy()

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

◆ dup()

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

Reimplemented from inet::UdpSetOptionCommand.

1047 {return new UdpUnblockMulticastSourcesCommand(*this);}

◆ eraseSourceList()

virtual void inet::UdpUnblockMulticastSourcesCommand::eraseSourceList ( size_t  k)
virtual

◆ getInterfaceId()

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

◆ getMulticastAddr()

virtual const L3Address& inet::UdpUnblockMulticastSourcesCommand::getMulticastAddr ( ) const
virtual

◆ getMulticastAddrForUpdate()

virtual L3Address& inet::UdpUnblockMulticastSourcesCommand::getMulticastAddrForUpdate ( )
inlinevirtual
1055 { return const_cast<L3Address&>(const_cast<UdpUnblockMulticastSourcesCommand*>(this)->getMulticastAddr());}

◆ getSourceList()

virtual const L3Address& inet::UdpUnblockMulticastSourcesCommand::getSourceList ( size_t  k) const
virtual

◆ getSourceListArraySize()

virtual size_t inet::UdpUnblockMulticastSourcesCommand::getSourceListArraySize ( ) const
virtual

◆ getSourceListForUpdate()

virtual L3Address& inet::UdpUnblockMulticastSourcesCommand::getSourceListForUpdate ( size_t  k)
inlinevirtual
1061 { return const_cast<L3Address&>(const_cast<UdpUnblockMulticastSourcesCommand*>(this)->getSourceList(k));}

◆ insertSourceList() [1/2]

void inet::UdpUnblockMulticastSourcesCommand::insertSourceList ( const L3Address sourceList)
inline

◆ insertSourceList() [2/2]

virtual void inet::UdpUnblockMulticastSourcesCommand::insertSourceList ( size_t  k,
const L3Address sourceList 
)
virtual

◆ operator=()

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

◆ operator==()

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

◆ parsimPack()

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

Reimplemented from inet::UdpSetOptionCommand.

Referenced by inet::doParsimPacking().

◆ parsimUnpack()

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

Reimplemented from inet::UdpSetOptionCommand.

Referenced by inet::doParsimUnpacking().

◆ setInterfaceId()

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

◆ setMulticastAddr()

virtual void inet::UdpUnblockMulticastSourcesCommand::setMulticastAddr ( const L3Address multicastAddr)
virtual

◆ setSourceList()

virtual void inet::UdpUnblockMulticastSourcesCommand::setSourceList ( size_t  k,
const L3Address sourceList 
)
virtual

◆ setSourceListArraySize()

virtual void inet::UdpUnblockMulticastSourcesCommand::setSourceListArraySize ( size_t  size)
virtual

Member Data Documentation

◆ interfaceId

int inet::UdpUnblockMulticastSourcesCommand::interfaceId = 0
protected

◆ multicastAddr

L3Address inet::UdpUnblockMulticastSourcesCommand::multicastAddr
protected

◆ sourceList

L3Address* inet::UdpUnblockMulticastSourcesCommand::sourceList = nullptr
protected

◆ sourceList_arraysize

size_t inet::UdpUnblockMulticastSourcesCommand::sourceList_arraysize = 0
protected

The documentation for this class was generated from the following file:
inet::UdpUnblockMulticastSourcesCommand::sourceList
L3Address * sourceList
Definition: UdpControlInfo_m.h:1033
inet::physicallayer::k
const double k
Definition: Qam1024Modulation.cc:14
inet::UdpUnblockMulticastSourcesCommand::appendSourceList
virtual void appendSourceList(const L3Address &sourceList)
inet::UdpUnblockMulticastSourcesCommand::getMulticastAddr
virtual const L3Address & getMulticastAddr() const
inet::UdpUnblockMulticastSourcesCommand::UdpUnblockMulticastSourcesCommand
UdpUnblockMulticastSourcesCommand()
inet::UdpUnblockMulticastSourcesCommand::getSourceList
virtual const L3Address & getSourceList(size_t k) const