INET Framework for OMNeT++/OMNEST
TCPCommand Class Reference

#include <TCPCommand_m.h>

Inheritance diagram for TCPCommand:
TCPConnectInfo TCPErrorInfo TCPOpenCommand TCPSendCommand TCPStatusInfo

List of all members.

Public Member Functions

 TCPCommand ()
 TCPCommand (const TCPCommand &other)
virtual ~TCPCommand ()
TCPCommandoperator= (const TCPCommand &other)
virtual TCPCommanddup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
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_var
int userId_var

Private Member Functions

void copy (const TCPCommand &other)

Detailed Description

Class generated from transport/contract/TCPCommand.msg by opp_msgc.

 class TCPCommand
 {
     int connId = -1;   
     int userId = -1;   
 }
 

Definition at line 98 of file TCPCommand_m.h.


Constructor & Destructor Documentation

Referenced by dup().

TCPCommand::TCPCommand ( const TCPCommand other)
virtual TCPCommand::~TCPCommand ( ) [virtual]

Member Function Documentation

void TCPCommand::copy ( const TCPCommand other) [private]
virtual TCPCommand* TCPCommand::dup ( ) const [inline, virtual]

Reimplemented in TCPStatusInfo, TCPConnectInfo, TCPSendCommand, TCPOpenCommand, and TCPErrorInfo.

Definition at line 116 of file TCPCommand_m.h.

{return new TCPCommand(*this);}
virtual int TCPCommand::getUserId ( ) const [virtual]
TCPCommand& TCPCommand::operator= ( const TCPCommand other)
bool TCPCommand::operator== ( const TCPCommand ) [protected]
virtual void TCPCommand::parsimPack ( cCommBuffer *  b) [virtual]
virtual void TCPCommand::parsimUnpack ( cCommBuffer *  b) [virtual]
virtual void TCPCommand::setUserId ( int  userId) [virtual]

Member Data Documentation

int TCPCommand::connId_var [protected]

Definition at line 101 of file TCPCommand_m.h.

int TCPCommand::userId_var [protected]

Definition at line 102 of file TCPCommand_m.h.


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