INET Framework for OMNeT++/OMNEST
inet::TcpErrorInfo Class Reference

Class generated from inet/transportlayer/contract/tcp/TcpCommand.msg:86 by opp_msgtool. More...

#include <TcpCommand_m.h>

Inheritance diagram for inet::TcpErrorInfo:
inet::TcpCommand

Public Member Functions

 TcpErrorInfo ()
 
 TcpErrorInfo (const TcpErrorInfo &other)
 
virtual ~TcpErrorInfo ()
 
TcpErrorInfooperator= (const TcpErrorInfo &other)
 
virtual TcpErrorInfodup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual TcpErrorCode getErrorCode () const
 
virtual void setErrorCode (TcpErrorCode errorCode)
 
virtual const char * getMessageText () const
 
virtual void setMessageText (const char *messageText)
 
- Public Member Functions inherited from inet::TcpCommand
 TcpCommand ()
 
 TcpCommand (const TcpCommand &other)
 
virtual ~TcpCommand ()
 
TcpCommandoperator= (const TcpCommand &other)
 
virtual int getUserId () const
 
virtual void setUserId (int userId)
 

Protected Member Functions

bool operator== (const TcpErrorInfo &)=delete
 
- Protected Member Functions inherited from inet::TcpCommand
bool operator== (const TcpCommand &)=delete
 

Protected Attributes

TcpErrorCode errorCode = static_cast<inet::TcpErrorCode>(-1)
 
::omnetpp::opp_string messageText
 
- Protected Attributes inherited from inet::TcpCommand
int userId = -1
 

Private Member Functions

void copy (const TcpErrorInfo &other)
 

Detailed Description

Class generated from inet/transportlayer/contract/tcp/TcpCommand.msg:86 by opp_msgtool.

//
// Currently not in use.
//
class TcpErrorInfo extends TcpCommand
{
    TcpErrorCode errorCode;
    string messageText;
}

Constructor & Destructor Documentation

◆ TcpErrorInfo() [1/2]

inet::TcpErrorInfo::TcpErrorInfo ( )

◆ TcpErrorInfo() [2/2]

inet::TcpErrorInfo::TcpErrorInfo ( const TcpErrorInfo other)

◆ ~TcpErrorInfo()

virtual inet::TcpErrorInfo::~TcpErrorInfo ( )
virtual

Member Function Documentation

◆ copy()

void inet::TcpErrorInfo::copy ( const TcpErrorInfo other)
private

◆ dup()

virtual TcpErrorInfo* inet::TcpErrorInfo::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::TcpCommand.

239 {return new TcpErrorInfo(*this);}

◆ getErrorCode()

virtual TcpErrorCode inet::TcpErrorInfo::getErrorCode ( ) const
virtual

◆ getMessageText()

virtual const char* inet::TcpErrorInfo::getMessageText ( ) const
virtual

◆ operator=()

TcpErrorInfo& inet::TcpErrorInfo::operator= ( const TcpErrorInfo other)

◆ operator==()

bool inet::TcpErrorInfo::operator== ( const TcpErrorInfo )
protecteddelete

◆ parsimPack()

virtual void inet::TcpErrorInfo::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::TcpCommand.

Referenced by inet::doParsimPacking().

◆ parsimUnpack()

virtual void inet::TcpErrorInfo::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual

Reimplemented from inet::TcpCommand.

Referenced by inet::doParsimUnpacking().

◆ setErrorCode()

virtual void inet::TcpErrorInfo::setErrorCode ( TcpErrorCode  errorCode)
virtual

◆ setMessageText()

virtual void inet::TcpErrorInfo::setMessageText ( const char *  messageText)
virtual

Member Data Documentation

◆ errorCode

TcpErrorCode inet::TcpErrorInfo::errorCode = static_cast<inet::TcpErrorCode>(-1)
protected

◆ messageText

::omnetpp::opp_string inet::TcpErrorInfo::messageText
protected

The documentation for this class was generated from the following file:
inet::TcpErrorInfo::TcpErrorInfo
TcpErrorInfo()