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

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

#include <UDPControlInfo_m.h>

Inheritance diagram for inet::UDPSetTimeToLiveCommand:
inet::UDPSetOptionCommand inet::UDPControlInfo

Public Member Functions

 UDPSetTimeToLiveCommand ()
 
 UDPSetTimeToLiveCommand (const UDPSetTimeToLiveCommand &other)
 
virtual ~UDPSetTimeToLiveCommand ()
 
UDPSetTimeToLiveCommandoperator= (const UDPSetTimeToLiveCommand &other)
 
virtual UDPSetTimeToLiveCommanddup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual int getTtl () const
 
virtual void setTtl (int ttl)
 
- 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 UDPSetTimeToLiveCommand &)
 
- Protected Member Functions inherited from inet::UDPSetOptionCommand
bool operator== (const UDPSetOptionCommand &)
 
- Protected Member Functions inherited from inet::UDPControlInfo
bool operator== (const UDPControlInfo &)
 

Protected Attributes

int ttl
 
- Protected Attributes inherited from inet::UDPControlInfo
int sockId
 

Private Member Functions

void copy (const UDPSetTimeToLiveCommand &other)
 

Detailed Description

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

//
// Control info for setting the Time To Live (a.k.a. Hop Limit) option on an
// UDP socket. This option will affect both multicast and unicast packets.
// 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 UDPSetTimeToLiveCommand extends UDPSetOptionCommand
{
    int ttl;
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::UDPSetOptionCommand.

542 {return new UDPSetTimeToLiveCommand(*this);}
virtual int inet::UDPSetTimeToLiveCommand::getTtl ( ) const
virtual
UDPSetTimeToLiveCommand& inet::UDPSetTimeToLiveCommand::operator= ( const UDPSetTimeToLiveCommand other)
bool inet::UDPSetTimeToLiveCommand::operator== ( const UDPSetTimeToLiveCommand )
protected
virtual void inet::UDPSetTimeToLiveCommand::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::UDPSetOptionCommand.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::UDPSetOptionCommand.

Referenced by inet::doParsimUnpacking().

virtual void inet::UDPSetTimeToLiveCommand::setTtl ( int  ttl)
virtual

Member Data Documentation

int inet::UDPSetTimeToLiveCommand::ttl
protected

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