INET Framework for OMNeT++/OMNEST
SCTPCommand Class Reference

#include <SCTPCommand_m.h>

Inheritance diagram for SCTPCommand:
SCTPConnectInfo SCTPErrorInfo SCTPInfo SCTPOpenCommand SCTPPathInfo SCTPRcvCommand SCTPResetInfo SCTPSendCommand SCTPStatusInfo

List of all members.

Public Member Functions

 SCTPCommand (const char *name=NULL)
 SCTPCommand (const SCTPCommand &other)
virtual ~SCTPCommand ()
SCTPCommandoperator= (const SCTPCommand &other)
virtual SCTPCommanddup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
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 getLifetime () const
virtual void setLifetime (double lifetime)
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 getGate () const
virtual void setGate (int gate)

Protected Member Functions

bool operator== (const SCTPCommand &)

Protected Attributes

int assocId_var
int sid_var
int numMsgs_var
int ssn_var
unsigned short sendUnordered_var
double lifetime_var
IPvXAddress localAddr_var
IPvXAddress remoteAddr_var
int gate_var

Private Member Functions

void copy (const SCTPCommand &other)

Detailed Description

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

 class SCTPCommand extends cPacket
 {
     int assocId = -1;   
     int sid = -1;
     int numMsgs = 1;
     int ssn = -1;
     unsigned short sendUnordered = false;
     double lifetime = 0;
     IPvXAddress localAddr = IPvXAddress("0.0.0.0");
     IPvXAddress remoteAddr = IPvXAddress("0.0.0.0");
     int gate = -1;
 }
 

Definition at line 53 of file SCTPCommand_m.h.


Constructor & Destructor Documentation

SCTPCommand::SCTPCommand ( const char *  name = NULL)

Referenced by dup().

virtual SCTPCommand::~SCTPCommand ( ) [virtual]

Member Function Documentation

void SCTPCommand::copy ( const SCTPCommand other) [private]
virtual SCTPCommand* SCTPCommand::dup ( ) const [inline, virtual]
virtual int SCTPCommand::getGate ( ) const [virtual]

Referenced by SCTP::handleMessage().

virtual double SCTPCommand::getLifetime ( ) const [virtual]
virtual const IPvXAddress& SCTPCommand::getLocalAddr ( ) const [inline, virtual]

Definition at line 96 of file SCTPCommand_m.h.

Referenced by getLocalAddr().

{return const_cast<SCTPCommand*>(this)->getLocalAddr();}
virtual const IPvXAddress& SCTPCommand::getRemoteAddr ( ) const [inline, virtual]

Reimplemented in SCTPResetInfo, and SCTPOpenCommand.

Definition at line 99 of file SCTPCommand_m.h.

Referenced by getRemoteAddr().

{return const_cast<SCTPCommand*>(this)->getRemoteAddr();}
virtual int SCTPCommand::getSsn ( ) const [virtual]
SCTPCommand& SCTPCommand::operator= ( const SCTPCommand other)
bool SCTPCommand::operator== ( const SCTPCommand ) [protected]
virtual void SCTPCommand::setGate ( int  gate) [virtual]
virtual void SCTPCommand::setLifetime ( double  lifetime) [virtual]
virtual void SCTPCommand::setSsn ( int  ssn) [virtual]

Member Data Documentation

int SCTPCommand::assocId_var [protected]

Definition at line 56 of file SCTPCommand_m.h.

int SCTPCommand::gate_var [protected]

Definition at line 64 of file SCTPCommand_m.h.

double SCTPCommand::lifetime_var [protected]

Definition at line 61 of file SCTPCommand_m.h.

Definition at line 62 of file SCTPCommand_m.h.

int SCTPCommand::numMsgs_var [protected]

Definition at line 58 of file SCTPCommand_m.h.

Reimplemented in SCTPResetInfo, and SCTPOpenCommand.

Definition at line 63 of file SCTPCommand_m.h.

unsigned short SCTPCommand::sendUnordered_var [protected]

Definition at line 60 of file SCTPCommand_m.h.

int SCTPCommand::sid_var [protected]

Definition at line 57 of file SCTPCommand_m.h.

int SCTPCommand::ssn_var [protected]

Definition at line 59 of file SCTPCommand_m.h.


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