INET Framework for OMNeT++/OMNEST
|
Class generated from inet/transportlayer/contract/tcp/TCPCommand.msg:91
by nedtool.
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 | getConnId () const |
virtual void | setConnId (int connId) |
virtual int | getUserId () const |
virtual void | setUserId (int userId) |
Protected Member Functions | |
bool | operator== (const TCPCommand &) |
Protected Attributes | |
int | connId |
int | userId |
Private Member Functions | |
void | copy (const TCPCommand &other) |
Class generated from inet/transportlayer/contract/tcp/TCPCommand.msg:91
by nedtool.
// // 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 { int connId = -1; // identifies the socket within the application int userId = -1; // id than can be freely used by the app }
inet::TCPCommand::TCPCommand | ( | ) |
inet::TCPCommand::TCPCommand | ( | const TCPCommand & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented in inet::TCPStatusInfo, inet::TCPConnectInfo, inet::TCPSendCommand, inet::TCPOpenCommand, and inet::TCPErrorInfo.
|
virtual |
Referenced by inet::TCPSocket::belongsToSocket(), inet::TCPSocketMap::findSocketFor(), inet::tcp::TCP_NSC::handleAppMessage(), inet::tcp::TCP_lwIP::handleAppMessage(), inet::TCPEchoApp::handleMessage(), inet::httptools::HttpBrowser::handleMessage(), inet::tcp::TCP::handleMessage(), inet::NetPerfMeter::successfullyEstablishedConnection(), and inet::TCPSocket::TCPSocket().
|
virtual |
TCPCommand& inet::TCPCommand::operator= | ( | const TCPCommand & | other | ) |
|
protected |
|
overridevirtual |
Reimplemented in inet::TCPStatusInfo, inet::TCPConnectInfo, inet::TCPSendCommand, inet::TCPOpenCommand, and inet::TCPErrorInfo.
Referenced by inet::doParsimPacking().
|
overridevirtual |
Reimplemented in inet::TCPStatusInfo, inet::TCPConnectInfo, inet::TCPSendCommand, inet::TCPOpenCommand, and inet::TCPErrorInfo.
Referenced by inet::doParsimUnpacking().
|
virtual |
Referenced by inet::TCPSocket::abort(), inet::TCPSocket::close(), inet::TCPSocket::connect(), inet::tcp::TCP_NSC_Connection::do_SEND(), inet::TCPGenericSrvApp::handleMessage(), inet::PacketDrillApp::handleMessage(), inet::TCPSocket::listen(), inet::tcp::TCPConnection::process_READ_REQUEST(), inet::tcp::TCPConnection::processSegment1stThru8th(), inet::TCPSocket::requestStatus(), inet::TCPSocket::send(), inet::tcp::TCP_NSC::sendDataToApp(), inet::tcp::TCP_NSC::sendErrorNotificationToApp(), inet::tcp::TCPConnection::sendEstabIndicationToApp(), inet::tcp::TcpLwipConnection::sendEstablishedMsg(), inet::tcp::TCP_NSC::sendEstablishedMsg(), inet::tcp::TcpLwipConnection::sendIndicationToApp(), inet::tcp::TCPConnection::sendIndicationToApp(), inet::NetPerfMeter::sendTCPQueueRequest(), inet::PacketDrillApp::syscallClose(), inet::PacketDrillApp::syscallRead(), and inet::tcp::TCP_lwIP::tcp_event_recv().
|
virtual |
|
protected |
|
protected |