|
INET Framework for OMNeT++/OMNEST
|
Class generated from inet/transportlayer/contract/tcp/TcpCommand.msg:116 by opp_msgtool.
More...
#include <TcpCommand_m.h>
Public Member Functions | |
| TcpOpenCommand () | |
| TcpOpenCommand (const TcpOpenCommand &other) | |
| virtual | ~TcpOpenCommand () |
| TcpOpenCommand & | operator= (const TcpOpenCommand &other) |
| virtual TcpOpenCommand * | dup () const override |
| virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
| virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
| virtual const L3Address & | getLocalAddr () const |
| virtual L3Address & | getLocalAddrForUpdate () |
| virtual void | setLocalAddr (const L3Address &localAddr) |
| virtual const L3Address & | getRemoteAddr () const |
| virtual L3Address & | getRemoteAddrForUpdate () |
| virtual void | setRemoteAddr (const L3Address &remoteAddr) |
| virtual int | getLocalPort () const |
| virtual void | setLocalPort (int localPort) |
| virtual int | getRemotePort () const |
| virtual void | setRemotePort (int remotePort) |
| virtual bool | getFork () const |
| virtual void | setFork (bool fork) |
| virtual const char * | getTcpAlgorithmClass () const |
| virtual void | setTcpAlgorithmClass (const char *tcpAlgorithmClass) |
Public Member Functions inherited from inet::TcpCommand | |
| TcpCommand () | |
| TcpCommand (const TcpCommand &other) | |
| virtual | ~TcpCommand () |
| TcpCommand & | operator= (const TcpCommand &other) |
| virtual int | getUserId () const |
| virtual void | setUserId (int userId) |
Protected Member Functions | |
| bool | operator== (const TcpOpenCommand &)=delete |
Protected Member Functions inherited from inet::TcpCommand | |
| bool | operator== (const TcpCommand &)=delete |
Protected Attributes | |
| L3Address | localAddr |
| L3Address | remoteAddr |
| int | localPort = -1 |
| int | remotePort = -1 |
| bool | fork = false |
| ::omnetpp::opp_string | tcpAlgorithmClass |
Protected Attributes inherited from inet::TcpCommand | |
| int | userId = -1 |
Private Member Functions | |
| void | copy (const TcpOpenCommand &other) |
Class generated from inet/transportlayer/contract/tcp/TcpCommand.msg:116 by opp_msgtool.
// // Control info to be used for active or passive TCP open. // // localAddr, remoteAddr, localPort, remotePort should be self-explanatory. // localAddr is optional because TCP can learn it from IP when a packet // is received from the peer; localPort is optional because TCP supports // ephemeral ports. // // The fork parameter is used with passive open, and controls what happens // when an incoming connection is received. With fork=true, it emulates // the Unix accept(2) syscall semantics: a new connection structure // is created for the connection (with a new connId, see in ~TcpCommand), // and the connection structure with the old connId remains listening. // With fork=false, all the above does not happen: the first connection // is accepted (with the original connId), and further incoming connections // will be refused by TCP by sending an RST segment. // // The tcpAlgorithmClass field allows per-connection TCP configuration. // The tcpAlgorithmClass field may contain name of class subclassed from // TcpAlgorithm, respectively. // If not set, module parameters with similar names are used. // // @see ~TcpCommandCode, ~ITcp // class TcpOpenCommand extends TcpCommand { L3Address localAddr; // may be left empty L3Address remoteAddr;// required for active open int localPort = -1; // required for passive open int remotePort = -1; // required for active open bool fork = false; // used only for passive open string tcpAlgorithmClass; // TCP congestion control algorithm; leave empty for default }
| inet::TcpOpenCommand::TcpOpenCommand | ( | ) |
| inet::TcpOpenCommand::TcpOpenCommand | ( | const TcpOpenCommand & | other | ) |
|
virtual |
|
private |
|
inlineoverridevirtual |
Reimplemented from inet::TcpCommand.
|
virtual |
|
virtual |
|
inlinevirtual |
|
virtual |
|
virtual |
|
inlinevirtual |
|
virtual |
|
virtual |
Referenced by inet::tcp::TcpConnection::initConnection().
| TcpOpenCommand& inet::TcpOpenCommand::operator= | ( | const TcpOpenCommand & | other | ) |
|
protecteddelete |
|
overridevirtual |
Reimplemented from inet::TcpCommand.
Referenced by inet::doParsimPacking().
|
overridevirtual |
Reimplemented from inet::TcpCommand.
Referenced by inet::doParsimUnpacking().
|
virtual |
Referenced by inet::TcpSocket::listen().
|
virtual |
Referenced by inet::TcpSocket::connect(), and inet::TcpSocket::listen().
|
virtual |
Referenced by inet::TcpSocket::connect(), and inet::TcpSocket::listen().
|
virtual |
Referenced by inet::TcpSocket::connect().
|
virtual |
Referenced by inet::TcpSocket::connect().
|
virtual |
Referenced by inet::TcpSocket::connect(), and inet::TcpSocket::listen().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |