INET Framework for OMNeT++/OMNEST
TCPOpenCommand Class Reference

#include <TCPCommand_m.h>

Inheritance diagram for TCPOpenCommand:
TCPCommand

List of all members.

Public Member Functions

 TCPOpenCommand ()
 TCPOpenCommand (const TCPOpenCommand &other)
virtual ~TCPOpenCommand ()
TCPOpenCommandoperator= (const TCPOpenCommand &other)
virtual TCPOpenCommanddup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual IPvXAddressgetLocalAddr ()
virtual const IPvXAddressgetLocalAddr () const
virtual void setLocalAddr (const IPvXAddress &localAddr)
virtual IPvXAddressgetRemoteAddr ()
virtual const IPvXAddressgetRemoteAddr () 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)

Detailed Description

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.


Constructor & Destructor Documentation

virtual TCPOpenCommand::~TCPOpenCommand ( ) [virtual]

Member Function Documentation

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 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 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();}
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]
virtual void TCPOpenCommand::setLocalPort ( int  localPort) [virtual]
virtual void TCPOpenCommand::setReceiveQueueClass ( const char *  receiveQueueClass) [virtual]
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]
virtual void TCPOpenCommand::setTcpAlgorithmClass ( const char *  tcpAlgorithmClass) [virtual]

Member Data Documentation

bool TCPOpenCommand::fork_var [protected]

Definition at line 195 of file TCPCommand_m.h.

Definition at line 191 of file TCPCommand_m.h.

Definition at line 193 of file TCPCommand_m.h.

opp_string TCPOpenCommand::receiveQueueClass_var [protected]

Definition at line 197 of file TCPCommand_m.h.

Definition at line 192 of file TCPCommand_m.h.

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.


The documentation for this class was generated from the following file: