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

Class generated from inet/transportlayer/contract/sctp/SCTPCommand.msg:78 by nedtool. More...

#include <SCTPCommand_m.h>

Inheritance diagram for inet::SCTPErrorInfo:
inet::SCTPCommand

Public Member Functions

 SCTPErrorInfo (const char *name=nullptr, short kind=0)
 
 SCTPErrorInfo (const SCTPErrorInfo &other)
 
virtual ~SCTPErrorInfo ()
 
SCTPErrorInfooperator= (const SCTPErrorInfo &other)
 
virtual SCTPErrorInfodup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual int getErrorCode () const
 
virtual void setErrorCode (int errorCode)
 
virtual const char * getMessageText () const
 
virtual void setMessageText (const char *messageText)
 
- Public Member Functions inherited from inet::SCTPCommand
 SCTPCommand (const char *name=nullptr, short kind=0)
 
 SCTPCommand (const SCTPCommand &other)
 
virtual ~SCTPCommand ()
 
SCTPCommandoperator= (const SCTPCommand &other)
 
virtual int getAssocId () const
 
virtual void setAssocId (int assocId)
 
virtual int getSid () const
 
virtual void setSid (int sid)
 
virtual int getNumMsgs () const
 
virtual void setNumMsgs (int numMsgs)
 
virtual int getSsn () const
 
virtual void setSsn (int ssn)
 
virtual unsigned short getSendUnordered () const
 
virtual void setSendUnordered (unsigned short sendUnordered)
 
virtual double getPrValue () const
 
virtual void setPrValue (double prValue)
 
virtual L3AddressgetLocalAddr ()
 
virtual const L3AddressgetLocalAddr () const
 
virtual void setLocalAddr (const L3Address &localAddr)
 
virtual L3AddressgetRemoteAddr ()
 
virtual const L3AddressgetRemoteAddr () const
 
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 int getGate () const
 
virtual void setGate (int gate)
 
virtual int getFd () const
 
virtual void setFd (int fd)
 

Protected Member Functions

bool operator== (const SCTPErrorInfo &)
 
- Protected Member Functions inherited from inet::SCTPCommand
bool operator== (const SCTPCommand &)
 

Protected Attributes

int errorCode
 
::omnetpp::opp_string messageText
 
- Protected Attributes inherited from inet::SCTPCommand
int assocId
 
int sid
 
int numMsgs
 
int ssn
 
unsigned short sendUnordered
 
double prValue
 
L3Address localAddr
 
L3Address remoteAddr
 
int localPort
 
int remotePort
 
int gate
 
int fd
 

Private Member Functions

void copy (const SCTPErrorInfo &other)
 

Detailed Description

Class generated from inet/transportlayer/contract/sctp/SCTPCommand.msg:78 by nedtool.

//
// Currently not in use.
//
message SCTPErrorInfo extends SCTPCommand
{
    int errorCode @enum(SCTPErrorCode);
    string messageText;
}

Constructor & Destructor Documentation

inet::SCTPErrorInfo::SCTPErrorInfo ( const char *  name = nullptr,
short  kind = 0 
)
inet::SCTPErrorInfo::SCTPErrorInfo ( const SCTPErrorInfo other)
virtual inet::SCTPErrorInfo::~SCTPErrorInfo ( )
virtual

Member Function Documentation

void inet::SCTPErrorInfo::copy ( const SCTPErrorInfo other)
private
virtual SCTPErrorInfo* inet::SCTPErrorInfo::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::SCTPCommand.

186 {return new SCTPErrorInfo(*this);}
SCTPErrorInfo(const char *name=nullptr, short kind=0)
virtual int inet::SCTPErrorInfo::getErrorCode ( ) const
virtual
virtual const char* inet::SCTPErrorInfo::getMessageText ( ) const
virtual
SCTPErrorInfo& inet::SCTPErrorInfo::operator= ( const SCTPErrorInfo other)
bool inet::SCTPErrorInfo::operator== ( const SCTPErrorInfo )
protected
virtual void inet::SCTPErrorInfo::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::SCTPCommand.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::SCTPCommand.

Referenced by inet::doParsimUnpacking().

virtual void inet::SCTPErrorInfo::setErrorCode ( int  errorCode)
virtual
virtual void inet::SCTPErrorInfo::setMessageText ( const char *  messageText)
virtual

Member Data Documentation

int inet::SCTPErrorInfo::errorCode
protected
::omnetpp::opp_string inet::SCTPErrorInfo::messageText
protected

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