|
INET Framework for OMNeT++/OMNEST
|
#include <TCPCommand_m.h>
Public Member Functions | |
| TCPOpenCommand () | |
| TCPOpenCommand (const TCPOpenCommand &other) | |
| virtual | ~TCPOpenCommand () |
| TCPOpenCommand & | operator= (const TCPOpenCommand &other) |
| virtual TCPOpenCommand * | dup () const |
| virtual void | parsimPack (cCommBuffer *b) |
| virtual void | parsimUnpack (cCommBuffer *b) |
| virtual IPvXAddress & | getLocalAddr () |
| virtual const IPvXAddress & | getLocalAddr () const |
| virtual void | setLocalAddr (const IPvXAddress &localAddr) |
| virtual IPvXAddress & | getRemoteAddr () |
| virtual const IPvXAddress & | getRemoteAddr () const |
| virtual void | setRemoteAddr (const IPvXAddress &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 * | getSendQueueClass () const |
| virtual void | setSendQueueClass (const char *sendQueueClass) |
| virtual const char * | getReceiveQueueClass () const |
| virtual void | setReceiveQueueClass (const char *receiveQueueClass) |
| virtual const char * | getTcpAlgorithmClass () const |
| virtual void | setTcpAlgorithmClass (const char *tcpAlgorithmClass) |
Protected Member Functions | |
| bool | operator== (const TCPOpenCommand &) |
Protected Attributes | |
| IPvXAddress | localAddr_var |
| IPvXAddress | remoteAddr_var |
| int | localPort_var |
| int | remotePort_var |
| bool | fork_var |
| opp_string | sendQueueClass_var |
| opp_string | receiveQueueClass_var |
| opp_string | tcpAlgorithmClass_var |
Private Member Functions | |
| void | copy (const TCPOpenCommand &other) |
Class generated from transport/contract/TCPCommand.msg by opp_msgc.
class TCPOpenCommand extends TCPCommand { IPvXAddress localAddr; IPvXAddress remoteAddr; int localPort = -1; int remotePort = -1; bool fork = false; string sendQueueClass; string receiveQueueClass; string tcpAlgorithmClass; }
Definition at line 188 of file TCPCommand_m.h.
Referenced by dup().
| TCPOpenCommand::TCPOpenCommand | ( | const TCPOpenCommand & | other | ) |
| virtual TCPOpenCommand::~TCPOpenCommand | ( | ) | [virtual] |
| void TCPOpenCommand::copy | ( | const TCPOpenCommand & | other | ) | [private] |
| virtual TCPOpenCommand* TCPOpenCommand::dup | ( | ) | const [inline, virtual] |
Reimplemented from TCPCommand.
Definition at line 212 of file TCPCommand_m.h.
{return new TCPOpenCommand(*this);}
| virtual bool TCPOpenCommand::getFork | ( | ) | const [virtual] |
Referenced by tcp_old::TCPConnection::process_OPEN_PASSIVE(), and TCPConnection::process_OPEN_PASSIVE().
| virtual IPvXAddress& TCPOpenCommand::getLocalAddr | ( | ) | [virtual] |
| virtual const IPvXAddress& TCPOpenCommand::getLocalAddr | ( | ) | const [inline, virtual] |
Definition at line 218 of file TCPCommand_m.h.
Referenced by getLocalAddr().
{return const_cast<TCPOpenCommand*>(this)->getLocalAddr();}
| virtual int TCPOpenCommand::getLocalPort | ( | ) | const [virtual] |
| virtual const char* TCPOpenCommand::getReceiveQueueClass | ( | ) | const [virtual] |
Referenced by tcp_old::TCPConnection::initConnection(), and TCPConnection::initConnection().
| virtual IPvXAddress& TCPOpenCommand::getRemoteAddr | ( | ) | [virtual] |
Referenced by tcp_old::TCPConnection::process_OPEN_ACTIVE(), and TCPConnection::process_OPEN_ACTIVE().
| virtual const IPvXAddress& TCPOpenCommand::getRemoteAddr | ( | ) | const [inline, virtual] |
Definition at line 221 of file TCPCommand_m.h.
Referenced by getRemoteAddr().
{return const_cast<TCPOpenCommand*>(this)->getRemoteAddr();}
| virtual int TCPOpenCommand::getRemotePort | ( | ) | const [virtual] |
Referenced by tcp_old::TCPConnection::process_OPEN_ACTIVE(), and TCPConnection::process_OPEN_ACTIVE().
| virtual const char* TCPOpenCommand::getSendQueueClass | ( | ) | const [virtual] |
Referenced by tcp_old::TCPConnection::initConnection(), and TCPConnection::initConnection().
| virtual const char* TCPOpenCommand::getTcpAlgorithmClass | ( | ) | const [virtual] |
Referenced by tcp_old::TCPConnection::initConnection(), and TCPConnection::initConnection().
| TCPOpenCommand& TCPOpenCommand::operator= | ( | const TCPOpenCommand & | other | ) |
| bool TCPOpenCommand::operator== | ( | const TCPOpenCommand & | ) | [protected] |
| virtual void TCPOpenCommand::parsimPack | ( | cCommBuffer * | b | ) | [virtual] |
Reimplemented from TCPCommand.
Referenced by doPacking().
| virtual void TCPOpenCommand::parsimUnpack | ( | cCommBuffer * | b | ) | [virtual] |
Reimplemented from TCPCommand.
Referenced by doUnpacking().
| virtual void TCPOpenCommand::setFork | ( | bool | fork | ) | [virtual] |
Referenced by TCPSocket::listen().
| virtual void TCPOpenCommand::setLocalAddr | ( | const IPvXAddress & | localAddr | ) | [virtual] |
Referenced by TCPSocket::connect(), and TCPSocket::listen().
| virtual void TCPOpenCommand::setLocalPort | ( | int | localPort | ) | [virtual] |
Referenced by TCPSocket::connect(), and TCPSocket::listen().
| virtual void TCPOpenCommand::setReceiveQueueClass | ( | const char * | receiveQueueClass | ) | [virtual] |
Referenced by TCPSocket::connect(), and TCPSocket::listen().
| virtual void TCPOpenCommand::setRemoteAddr | ( | const IPvXAddress & | remoteAddr | ) | [virtual] |
Referenced by TCPSocket::connect().
| virtual void TCPOpenCommand::setRemotePort | ( | int | remotePort | ) | [virtual] |
Referenced by TCPSocket::connect().
| virtual void TCPOpenCommand::setSendQueueClass | ( | const char * | sendQueueClass | ) | [virtual] |
Referenced by TCPSocket::connect(), and TCPSocket::listen().
| virtual void TCPOpenCommand::setTcpAlgorithmClass | ( | const char * | tcpAlgorithmClass | ) | [virtual] |
Referenced by TCPSocket::connect(), and TCPSocket::listen().
bool TCPOpenCommand::fork_var [protected] |
Definition at line 195 of file TCPCommand_m.h.
IPvXAddress TCPOpenCommand::localAddr_var [protected] |
Definition at line 191 of file TCPCommand_m.h.
int TCPOpenCommand::localPort_var [protected] |
Definition at line 193 of file TCPCommand_m.h.
opp_string TCPOpenCommand::receiveQueueClass_var [protected] |
Definition at line 197 of file TCPCommand_m.h.
IPvXAddress TCPOpenCommand::remoteAddr_var [protected] |
Definition at line 192 of file TCPCommand_m.h.
int TCPOpenCommand::remotePort_var [protected] |
Definition at line 194 of file TCPCommand_m.h.
opp_string TCPOpenCommand::sendQueueClass_var [protected] |
Definition at line 196 of file TCPCommand_m.h.
opp_string TCPOpenCommand::tcpAlgorithmClass_var [protected] |
Definition at line 198 of file TCPCommand_m.h.