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

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

#include <SCTPCommand_m.h>

Inheritance diagram for inet::SCTPStatusInfo:
inet::SCTPCommand

Public Member Functions

 SCTPStatusInfo (const char *name=nullptr, short kind=0)
 
 SCTPStatusInfo (const SCTPStatusInfo &other)
 
virtual ~SCTPStatusInfo ()
 
SCTPStatusInfooperator= (const SCTPStatusInfo &other)
 
virtual SCTPStatusInfodup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual int getState () const
 
virtual void setState (int state)
 
virtual const char * getStateName () const
 
virtual void setStateName (const char *stateName)
 
virtual L3AddressgetPathId ()
 
virtual const L3AddressgetPathId () const
 
virtual void setPathId (const L3Address &pathId)
 
virtual bool getActive () const
 
virtual void setActive (bool active)
 
- 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 SCTPStatusInfo &)
 
- Protected Member Functions inherited from inet::SCTPCommand
bool operator== (const SCTPCommand &)
 

Protected Attributes

int state
 
::omnetpp::opp_string stateName
 
L3Address pathId
 
bool active
 
- 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 SCTPStatusInfo &other)
 

Detailed Description

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

//
// Sent with message kind SCTP_I_STATUS, in response to command SCTP_C_STATUS.
// For explanation of variables, see RFC 4960 or SCTPStateVariables in
// SCTPAssociation.h.
//
// @see ~SctpStatusInd, ~SctpCommandCode, ~SCTP
//
message SCTPStatusInfo extends SCTPCommand
{
    int state;
    string stateName;
    L3Address pathId;
    bool active;
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::SCTPCommand.

566 {return new SCTPStatusInfo(*this);}
SCTPStatusInfo(const char *name=nullptr, short kind=0)
virtual bool inet::SCTPStatusInfo::getActive ( ) const
virtual
virtual const L3Address& inet::SCTPStatusInfo::getPathId ( ) const
inlinevirtual

Referenced by getPathId().

576 {return const_cast<SCTPStatusInfo*>(this)->getPathId();}
SCTPStatusInfo(const char *name=nullptr, short kind=0)
virtual L3Address & getPathId()
virtual int inet::SCTPStatusInfo::getState ( ) const
virtual
virtual const char* inet::SCTPStatusInfo::getStateName ( ) const
virtual
SCTPStatusInfo& inet::SCTPStatusInfo::operator= ( const SCTPStatusInfo other)
bool inet::SCTPStatusInfo::operator== ( const SCTPStatusInfo )
protected
virtual void inet::SCTPStatusInfo::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::SCTPCommand.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::SCTPCommand.

Referenced by inet::doParsimUnpacking().

virtual void inet::SCTPStatusInfo::setActive ( bool  active)
virtual
virtual void inet::SCTPStatusInfo::setPathId ( const L3Address pathId)
virtual
virtual void inet::SCTPStatusInfo::setState ( int  state)
virtual
virtual void inet::SCTPStatusInfo::setStateName ( const char *  stateName)
virtual

Member Data Documentation

bool inet::SCTPStatusInfo::active
protected
L3Address inet::SCTPStatusInfo::pathId
protected
int inet::SCTPStatusInfo::state
protected
::omnetpp::opp_string inet::SCTPStatusInfo::stateName
protected

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