INET Framework for OMNeT++/OMNEST
|
Class generated from inet/transportlayer/contract/udp/UDPControlInfo.msg:183
by nedtool.
More...
#include <UDPControlInfo_m.h>
Public Member Functions | |
UDPSetTimeToLiveCommand () | |
UDPSetTimeToLiveCommand (const UDPSetTimeToLiveCommand &other) | |
virtual | ~UDPSetTimeToLiveCommand () |
UDPSetTimeToLiveCommand & | operator= (const UDPSetTimeToLiveCommand &other) |
virtual UDPSetTimeToLiveCommand * | dup () 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 () |
UDPSetOptionCommand & | operator= (const UDPSetOptionCommand &other) |
Public Member Functions inherited from inet::UDPControlInfo | |
UDPControlInfo () | |
UDPControlInfo (const UDPControlInfo &other) | |
virtual | ~UDPControlInfo () |
UDPControlInfo & | operator= (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) |
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; }
inet::UDPSetTimeToLiveCommand::UDPSetTimeToLiveCommand | ( | ) |
inet::UDPSetTimeToLiveCommand::UDPSetTimeToLiveCommand | ( | const UDPSetTimeToLiveCommand & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented from inet::UDPSetOptionCommand.
|
virtual |
UDPSetTimeToLiveCommand& inet::UDPSetTimeToLiveCommand::operator= | ( | const UDPSetTimeToLiveCommand & | other | ) |
|
protected |
|
overridevirtual |
Reimplemented from inet::UDPSetOptionCommand.
Referenced by inet::doParsimPacking().
|
overridevirtual |
Reimplemented from inet::UDPSetOptionCommand.
Referenced by inet::doParsimUnpacking().
|
virtual |
Referenced by inet::UDPSocket::setTimeToLive().
|
protected |