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

Class generated from inet/transportlayer/contract/udp/UDPControlInfo.msg:250 by nedtool. 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)
 
- 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 UDPSetReuseAddressCommand &)
 
- 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 reuseAddress
 
- Protected Attributes inherited from inet::UDPControlInfo
int sockId
 

Private Member Functions

void copy (const UDPSetReuseAddressCommand &other)
 

Detailed Description

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

//
// 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
{
    bool reuseAddress;
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::UDPSetOptionCommand.

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

Reimplemented from inet::UDPSetOptionCommand.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::UDPSetOptionCommand.

Referenced by inet::doParsimUnpacking().

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

Member Data Documentation

bool inet::UDPSetReuseAddressCommand::reuseAddress
protected

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