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

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

#include <UDPControlInfo_m.h>

Inheritance diagram for inet::UDPSetMulticastLoopCommand:
inet::UDPSetOptionCommand inet::UDPControlInfo

Public Member Functions

 UDPSetMulticastLoopCommand ()
 
 UDPSetMulticastLoopCommand (const UDPSetMulticastLoopCommand &other)
 
virtual ~UDPSetMulticastLoopCommand ()
 
UDPSetMulticastLoopCommandoperator= (const UDPSetMulticastLoopCommand &other)
 
virtual UDPSetMulticastLoopCommanddup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual bool getLoop () const
 
virtual void setLoop (bool loop)
 
- 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 UDPSetMulticastLoopCommand &)
 
- Protected Member Functions inherited from inet::UDPSetOptionCommand
bool operator== (const UDPSetOptionCommand &)
 
- Protected Member Functions inherited from inet::UDPControlInfo
bool operator== (const UDPControlInfo &)
 

Protected Attributes

bool loop
 
- Protected Attributes inherited from inet::UDPControlInfo
int sockId
 

Private Member Functions

void copy (const UDPSetMulticastLoopCommand &other)
 

Detailed Description

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

//
// Control info for setting the multicast loop option for an UDP socket.
// When the option is true, a copy of the outgoing multicast packet
// is delivered locally via the loopback interface.
// To set the option, send a message to the ~UDP module with kind=UDP_C_SETOPTION
// and an instance of this control info class attached.
//
// @see ~UDPCommandCode
//
class UDPSetMulticastLoopCommand extends UDPSetOptionCommand
{
    bool loop;
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::UDPSetOptionCommand.

virtual bool inet::UDPSetMulticastLoopCommand::getLoop ( ) const
virtual
UDPSetMulticastLoopCommand& inet::UDPSetMulticastLoopCommand::operator= ( const UDPSetMulticastLoopCommand other)
bool inet::UDPSetMulticastLoopCommand::operator== ( const UDPSetMulticastLoopCommand )
protected
virtual void inet::UDPSetMulticastLoopCommand::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::UDPSetOptionCommand.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::UDPSetOptionCommand.

Referenced by inet::doParsimUnpacking().

virtual void inet::UDPSetMulticastLoopCommand::setLoop ( bool  loop)
virtual

Member Data Documentation

bool inet::UDPSetMulticastLoopCommand::loop
protected

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