|
INET Framework for OMNeT++/OMNEST
|
Class generated from inet/transportlayer/contract/udp/UDPControlInfo.msg:116 by nedtool.
More...
#include <UDPControlInfo_m.h>
Public Member Functions | |
| UDPSendCommand () | |
| UDPSendCommand (const UDPSendCommand &other) | |
| virtual | ~UDPSendCommand () |
| UDPSendCommand & | operator= (const UDPSendCommand &other) |
| virtual UDPSendCommand * | dup () const override |
| virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
| virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
| virtual L3Address & | getDestAddr () |
| virtual const L3Address & | getDestAddr () const |
| virtual void | setDestAddr (const L3Address &destAddr) |
| virtual int | getDestPort () const |
| virtual void | setDestPort (int destPort) |
| virtual L3Address & | getSrcAddr () |
| virtual const L3Address & | getSrcAddr () const |
| virtual void | setSrcAddr (const L3Address &srcAddr) |
| virtual int | getInterfaceId () const |
| virtual void | setInterfaceId (int interfaceId) |
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 UDPSendCommand &) |
Protected Member Functions inherited from inet::UDPControlInfo | |
| bool | operator== (const UDPControlInfo &) |
Protected Attributes | |
| L3Address | destAddr |
| int | destPort |
| L3Address | srcAddr |
| int | interfaceId |
Protected Attributes inherited from inet::UDPControlInfo | |
| int | sockId |
Private Member Functions | |
| void | copy (const UDPSendCommand &other) |
Class generated from inet/transportlayer/contract/udp/UDPControlInfo.msg:116 by nedtool.
// // Control info for sending data via UDP. To send a packet, send it to // the ~UDP module with kind=UDP_C_SEND and an ~UDPSendCommand attached. // // UDP_C_SEND/~UDPSendCommand models both the Unix send() and sendto() calls. // If the socket is connected, destAddr/destPort may be left blank (send()), // otherwise it must contain the destination for the packet (sendto()). // // @see ~UDPCommandCode // class UDPSendCommand extends UDPControlInfo { L3Address destAddr; // destination IPv4 or IPv6 address int destPort = -1; // destination port L3Address srcAddr; // source address int interfaceId = -1; // interface on which the packet must be sent (see ~InterfaceTable) }
| inet::UDPSendCommand::UDPSendCommand | ( | ) |
| inet::UDPSendCommand::UDPSendCommand | ( | const UDPSendCommand & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented from inet::UDPControlInfo.
|
virtual |
Referenced by inet::UDP::processPacketFromApp().
|
inlinevirtual |
Referenced by getDestAddr().
|
virtual |
Referenced by inet::UDP::processPacketFromApp().
|
virtual |
Referenced by inet::UDP::processPacketFromApp().
|
virtual |
Referenced by inet::UDP::processPacketFromApp().
|
inlinevirtual |
Referenced by getSrcAddr().
| UDPSendCommand& inet::UDPSendCommand::operator= | ( | const UDPSendCommand & | other | ) |
|
protected |
|
overridevirtual |
Reimplemented from inet::UDPControlInfo.
Referenced by inet::doParsimPacking().
|
overridevirtual |
Reimplemented from inet::UDPControlInfo.
Referenced by inet::doParsimUnpacking().
|
virtual |
Referenced by inet::UDPSocket::sendTo().
|
virtual |
Referenced by inet::UDPSocket::sendTo().
|
virtual |
Referenced by inet::UDPSocket::sendTo().
|
virtual |
Referenced by inet::UDPSocket::sendTo().
|
protected |
|
protected |
|
protected |
|
protected |