|
INET Framework for OMNeT++/OMNEST
|
Class generated from inet/transportlayer/contract/udp/UDPControlInfo.msg:83 by nedtool.
More...
#include <UDPControlInfo_m.h>
Public Member Functions | |
| UDPBindCommand () | |
| UDPBindCommand (const UDPBindCommand &other) | |
| virtual | ~UDPBindCommand () |
| UDPBindCommand & | operator= (const UDPBindCommand &other) |
| virtual UDPBindCommand * | dup () const override |
| virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
| virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
| virtual L3Address & | getLocalAddr () |
| virtual const L3Address & | getLocalAddr () const |
| virtual void | setLocalAddr (const L3Address &localAddr) |
| virtual int | getLocalPort () const |
| virtual void | setLocalPort (int localPort) |
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 UDPBindCommand &) |
Protected Member Functions inherited from inet::UDPControlInfo | |
| bool | operator== (const UDPControlInfo &) |
Protected Attributes | |
| L3Address | localAddr |
| int | localPort |
Protected Attributes inherited from inet::UDPControlInfo | |
| int | sockId |
Private Member Functions | |
| void | copy (const UDPBindCommand &other) |
Class generated from inet/transportlayer/contract/udp/UDPControlInfo.msg:83 by nedtool.
// // Control info for binding an UDP socket. To create and bind a socket, // send a message to the ~UDP module with kind=UDP_C_BIND and an // ~UDPBindCommand attached. // // Both the address and the port may be left unset. If the port is // unset, ~UDP will assign an ephemeral port. // // @see ~UDPCommandCode // class UDPBindCommand extends UDPControlInfo { L3Address localAddr; int localPort = -1; }
| inet::UDPBindCommand::UDPBindCommand | ( | ) |
| inet::UDPBindCommand::UDPBindCommand | ( | const UDPBindCommand & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented from inet::UDPControlInfo.
|
virtual |
Referenced by inet::UDP::processCommandFromApp().
|
inlinevirtual |
Referenced by getLocalAddr().
|
virtual |
Referenced by inet::UDP::processCommandFromApp().
| UDPBindCommand& inet::UDPBindCommand::operator= | ( | const UDPBindCommand & | 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::bind().
|
virtual |
Referenced by inet::UDPSocket::bind().
|
protected |
|
protected |