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

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

#include <UdpControlInfo_m.h>

Inheritance diagram for inet::UdpSetReuseAddressCommand:
inet::UdpSetOptionCommand inet::UdpControlInfo

Public Member Functions

 UdpSetReuseAddressCommand ()
 
 UdpSetReuseAddressCommand (const UdpSetReuseAddressCommand &other)
 
virtual ~UdpSetReuseAddressCommand ()
 
UdpSetReuseAddressCommandoperator= (const UdpSetReuseAddressCommand &other)
 
virtual UdpSetReuseAddressCommanddup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual bool getReuseAddress () const
 
virtual void setReuseAddress (bool reuseAddress)
 
- 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 UdpSetReuseAddressCommand &)=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

bool reuseAddress = false
 
- Protected Attributes inherited from inet::UdpSetOptionCommand
UdpSetOptionSubcode optionCode = static_cast<UdpSetOptionSubcode>(-1)
 

Private Member Functions

void copy (const UdpSetReuseAddressCommand &other)
 

Detailed Description

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

//
// Control info for setting the ReuseAddress option on an UDP socket.
// When the option is true, then the socket is allowed to bind to an already bound
// local address.
// 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 UdpSetReuseAddressCommand extends UdpSetOptionCommand
{
    optionCode = UDP_C_SETOPTION_REUSEADDR;
    bool reuseAddress;
}

Constructor & Destructor Documentation

◆ UdpSetReuseAddressCommand() [1/2]

inet::UdpSetReuseAddressCommand::UdpSetReuseAddressCommand ( )

◆ UdpSetReuseAddressCommand() [2/2]

inet::UdpSetReuseAddressCommand::UdpSetReuseAddressCommand ( const UdpSetReuseAddressCommand other)

◆ ~UdpSetReuseAddressCommand()

virtual inet::UdpSetReuseAddressCommand::~UdpSetReuseAddressCommand ( )
virtual

Member Function Documentation

◆ copy()

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

◆ dup()

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

Reimplemented from inet::UdpSetOptionCommand.

819 {return new UdpSetReuseAddressCommand(*this);}

◆ getReuseAddress()

virtual bool inet::UdpSetReuseAddressCommand::getReuseAddress ( ) const
virtual

◆ operator=()

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

◆ operator==()

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

◆ parsimPack()

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

Reimplemented from inet::UdpSetOptionCommand.

Referenced by inet::doParsimPacking().

◆ parsimUnpack()

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

Reimplemented from inet::UdpSetOptionCommand.

Referenced by inet::doParsimUnpacking().

◆ setReuseAddress()

virtual void inet::UdpSetReuseAddressCommand::setReuseAddress ( bool  reuseAddress)
virtual

Member Data Documentation

◆ reuseAddress

bool inet::UdpSetReuseAddressCommand::reuseAddress = false
protected

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