|
INET Framework for OMNeT++/OMNEST
|
Class generated from inet/transportlayer/contract/tcp/TcpCommand.msg:78 by opp_msgtool.
More...
#include <TcpCommand_m.h>
Public Member Functions | |
| TcpCommand () | |
| TcpCommand (const TcpCommand &other) | |
| virtual | ~TcpCommand () |
| TcpCommand & | operator= (const TcpCommand &other) |
| virtual TcpCommand * | dup () const override |
| virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
| virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
| virtual int | getUserId () const |
| virtual void | setUserId (int userId) |
Protected Member Functions | |
| bool | operator== (const TcpCommand &)=delete |
Protected Attributes | |
| int | userId = -1 |
Private Member Functions | |
| void | copy (const TcpCommand &other) |
Class generated from inet/transportlayer/contract/tcp/TcpCommand.msg:78 by opp_msgtool.
// // Control info for TCP connections. This class is to be set as control info // (see cMessage::setControlInfo()) on all messages exchanged between TCP and // application, in both directions. Some commands and indications // (TCP_C_OPEN_xxx, TCP_I_STATUS) use subclasses. // // connId identifies the connection locally within the application (internally, // TCP uses the (app gate index, connId) pair to identify the socket). // connId is to be chosen by the application in the open command. // //# TODO explain userId // // @see ~TcpCommandCode, ~TcpStatusInd, ~TcpOpenCommand, ~TcpStatusInfo, ~ITcp // class TcpCommand extends cObject { int userId = -1; // id than can be freely used by the app }
| inet::TcpCommand::TcpCommand | ( | ) |
| inet::TcpCommand::TcpCommand | ( | const TcpCommand & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
|
virtual |
| TcpCommand& inet::TcpCommand::operator= | ( | const TcpCommand & | other | ) |
|
protecteddelete |
|
overridevirtual |
|
overridevirtual |
Reimplemented in inet::TcpStatusInfo, inet::TcpConnectInfo, inet::TcpAvailableInfo, inet::TcpSetTosCommand, inet::TcpSetDscpCommand, inet::TcpSetTimeToLiveCommand, inet::TcpSetOptionCommand, inet::TcpAcceptCommand, inet::TcpOpenCommand, and inet::TcpErrorInfo.
Referenced by inet::doParsimUnpacking().
|
virtual |
|
protected |