|
INET Framework for OMNeT++/OMNEST
|
Class generated from inet/transportlayer/contract/udp/UdpControlInfo.msg:97 by opp_msgtool.
More...
#include <UdpControlInfo_m.h>
Public Member Functions | |
| UdpConnectCommand () | |
| UdpConnectCommand (const UdpConnectCommand &other) | |
| virtual | ~UdpConnectCommand () |
| UdpConnectCommand & | operator= (const UdpConnectCommand &other) |
| virtual UdpConnectCommand * | dup () const override |
| virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
| virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
| virtual const L3Address & | getRemoteAddr () const |
| virtual L3Address & | getRemoteAddrForUpdate () |
| virtual void | setRemoteAddr (const L3Address &remoteAddr) |
| virtual int | getRemotePort () const |
| virtual void | setRemotePort (int remotePort) |
Public Member Functions inherited from inet::UdpControlInfo | |
| UdpControlInfo () | |
| UdpControlInfo (const UdpControlInfo &other) | |
| virtual | ~UdpControlInfo () |
| UdpControlInfo & | operator= (const UdpControlInfo &other) |
Protected Member Functions | |
| bool | operator== (const UdpConnectCommand &)=delete |
Protected Member Functions inherited from inet::UdpControlInfo | |
| bool | operator== (const UdpControlInfo &)=delete |
Protected Attributes | |
| L3Address | remoteAddr |
| int | remotePort = -1 |
Private Member Functions | |
| void | copy (const UdpConnectCommand &other) |
Class generated from inet/transportlayer/contract/udp/UdpControlInfo.msg:97 by opp_msgtool.
// // Control info for connecting an UDP socket. To connect a socket, // send a message to the ~Udp module with kind=UDP_C_CONNECT and an // ~UdpConnectCommand attached. If the socket does not exist, // it will be created. // // Both the address and the port must be filled in. // // @see ~UdpCommandCode // class UdpConnectCommand extends UdpControlInfo { L3Address remoteAddr; int remotePort = -1; }
// // 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, tags not required, or destAddr/destPort may be left blank (send()), // otherwise it must contain the destination for the packet (sendto()). // // @see ~UdpCommandCode, ~PortsReq, ~L3AddressReq, ~InterfaceReq //
| inet::UdpConnectCommand::UdpConnectCommand | ( | ) |
| inet::UdpConnectCommand::UdpConnectCommand | ( | const UdpConnectCommand & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented from inet::UdpControlInfo.
|
virtual |
|
inlinevirtual |
|
virtual |
| UdpConnectCommand& inet::UdpConnectCommand::operator= | ( | const UdpConnectCommand & | other | ) |
|
protecteddelete |
|
overridevirtual |
Reimplemented from inet::UdpControlInfo.
Referenced by inet::doParsimPacking().
|
overridevirtual |
Reimplemented from inet::UdpControlInfo.
Referenced by inet::doParsimUnpacking().
|
virtual |
|
virtual |
|
protected |
|
protected |