INET Framework for OMNeT++/OMNEST
|
Class generated from inet/transportlayer/contract/udp/UDPControlInfo.msg:99
by nedtool.
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 L3Address & | getRemoteAddr () |
virtual const L3Address & | getRemoteAddr () const |
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) |
virtual int | getSockId () const |
virtual void | setSockId (int sockId) |
Protected Member Functions | |
bool | operator== (const UDPConnectCommand &) |
Protected Member Functions inherited from inet::UDPControlInfo | |
bool | operator== (const UDPControlInfo &) |
Protected Attributes | |
L3Address | remoteAddr |
int | remotePort |
Protected Attributes inherited from inet::UDPControlInfo | |
int | sockId |
Private Member Functions | |
void | copy (const UDPConnectCommand &other) |
Class generated from inet/transportlayer/contract/udp/UDPControlInfo.msg:99
by nedtool.
// // 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; }
inet::UDPConnectCommand::UDPConnectCommand | ( | ) |
inet::UDPConnectCommand::UDPConnectCommand | ( | const UDPConnectCommand & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented from inet::UDPControlInfo.
|
virtual |
Referenced by inet::UDP::processCommandFromApp().
|
inlinevirtual |
Referenced by getRemoteAddr().
|
virtual |
Referenced by inet::UDP::processCommandFromApp().
UDPConnectCommand& inet::UDPConnectCommand::operator= | ( | const UDPConnectCommand & | 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::connect().
|
virtual |
Referenced by inet::UDPSocket::connect().
|
protected |
|
protected |