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

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

#include <SCTPCommand_m.h>

Inheritance diagram for inet::SCTPCommand:
inet::SCTPConnectInfo inet::SCTPErrorInfo inet::SCTPInfo inet::SCTPOpenCommand inet::SCTPPathInfo inet::SCTPRcvInfo inet::SCTPResetInfo inet::SCTPRtoInfo inet::SCTPSendInfo inet::SCTPSendQueueAbated inet::SCTPStatusInfo

Public Member Functions

 SCTPCommand (const char *name=nullptr, short kind=0)
 
 SCTPCommand (const SCTPCommand &other)
 
virtual ~SCTPCommand ()
 
SCTPCommandoperator= (const SCTPCommand &other)
 
virtual SCTPCommanddup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
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 SCTPCommand &)
 

Protected Attributes

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 SCTPCommand &other)
 

Detailed Description

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

//
// Control info for SCTP connections. This message is to be set as control info
// (see cMessage::setControlInfo()) on all messages exchanged between ~SCTP and
// application, in both directions. Some commands and indications
// (SCTP_C_OPEN_xxx, SCTP_I_STATUS) use submessagees.
//
// connId identifies the connection locally within the application (internally,
// ~SCTP uses the (app gate index, connId) pair to identify the socket).
// connId is to be chosen by the application in the open command.
//
// @see ~SctpCommandCode, ~SctpStatusInd, ~SCTPOpenCommand, ~SCTPStatusInfo, SCTPMain
//
packet SCTPCommand
{
    int assocId = -1;   // identifies the socket within the application
    int sid = -1;
    int numMsgs = 1;
    int ssn = -1;
    unsigned short sendUnordered = false;
    double prValue = 0;
    L3Address localAddr;
    L3Address remoteAddr;
    int localPort = -1;
    int remotePort = -1;
    int gate = -1;
    int fd = -1;
}

Constructor & Destructor Documentation

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

Member Function Documentation

void inet::SCTPCommand::copy ( const SCTPCommand other)
private
virtual SCTPCommand* inet::SCTPCommand::dup ( ) const
inlineoverridevirtual
virtual int inet::SCTPCommand::getGate ( ) const
virtual
virtual L3Address& inet::SCTPCommand::getLocalAddr ( )
virtual
virtual const L3Address& inet::SCTPCommand::getLocalAddr ( ) const
inlinevirtual

Referenced by getLocalAddr().

137 {return const_cast<SCTPCommand*>(this)->getLocalAddr();}
virtual L3Address & getLocalAddr()
SCTPCommand(const char *name=nullptr, short kind=0)
virtual double inet::SCTPCommand::getPrValue ( ) const
virtual
virtual const L3Address& inet::SCTPCommand::getRemoteAddr ( ) const
inlinevirtual

Referenced by getRemoteAddr().

140 {return const_cast<SCTPCommand*>(this)->getRemoteAddr();}
virtual L3Address & getRemoteAddr()
SCTPCommand(const char *name=nullptr, short kind=0)
virtual int inet::SCTPCommand::getSsn ( ) const
virtual
SCTPCommand& inet::SCTPCommand::operator= ( const SCTPCommand other)
bool inet::SCTPCommand::operator== ( const SCTPCommand )
protected
virtual void inet::SCTPCommand::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual
virtual void inet::SCTPCommand::setAssocId ( int  assocId)
virtual

Referenced by inet::SCTPSocket::abort(), inet::SCTPSocket::accept(), inet::SCTPNatPeer::addressAddedArrived(), inet::SCTPSocket::close(), inet::SCTPSocket::connect(), inet::SCTPNatServer::generateAndSend(), inet::SCTPServer::generateAndSend(), inet::SCTPNatPeer::generateAndSend(), inet::SCTPPeer::generateAndSend(), inet::sctp::SCTPAssociation::generateSendQueueAbatedIndication(), inet::SCTPSocket::getSocketOptions(), inet::PacketDrillApp::handleMessage(), inet::SCTPNatServer::handleMessage(), inet::SCTPServer::handleMessage(), inet::SCTPNatPeer::handleMessage(), inet::SCTPPeer::handleMessage(), inet::SCTPNatServer::handleTimer(), inet::SCTPServer::handleTimer(), inet::SCTPNatPeer::handleTimer(), inet::SCTPPeer::handleTimer(), inet::SCTPSocket::listen(), inet::SCTPServer::makeAbortNotification(), inet::SCTPServer::makeDefaultReceive(), inet::SCTPServer::makeReceiveRequest(), inet::sctp::SCTPAssociation::pathStatusIndication(), inet::sctp::SCTPAssociation::pushUlp(), inet::SCTPSocket::requestStatus(), inet::SCTPSocket::send(), inet::sctp::SCTPAssociation::sendDataArrivedNotification(), inet::sctp::SCTPAssociation::sendEstabIndicationToApp(), inet::sctp::SCTPAssociation::sendIndicationToApp(), inet::SCTPNatServer::sendInfo(), inet::SCTPSocket::sendMsg(), inet::SCTPClient::sendQueueRequest(), inet::SCTPPeer::sendQueueRequest(), inet::SCTPNatPeer::sendQueueRequest(), inet::NetPerfMeter::sendSCTPQueueRequest(), inet::SCTPClient::sendStreamResetNotification(), inet::SCTPClient::setPrimaryPath(), inet::SCTPSocket::setRtoInfo(), inet::SCTPSocket::setStreamPriority(), inet::SCTPSocket::shutdown(), inet::SCTPClient::shutdownReceivedArrived(), inet::SCTPPeer::shutdownReceivedArrived(), inet::SCTPNatPeer::shutdownReceivedArrived(), inet::SCTPClient::socketDataNotificationArrived(), inet::SCTPPeer::socketDataNotificationArrived(), inet::SCTPNatPeer::socketDataNotificationArrived(), inet::SCTPNatPeer::socketEstablished(), inet::PacketDrillApp::syscallRead(), inet::PacketDrillApp::syscallSctpSend(), inet::PacketDrillApp::syscallSctpSendmsg(), inet::PacketDrillApp::syscallSetsockopt(), inet::PacketDrillApp::syscallWrite(), and inet::NetPerfMeter::transmitFrame().

virtual void inet::SCTPCommand::setGate ( int  gate)
virtual
virtual void inet::SCTPCommand::setSsn ( int  ssn)
virtual

Member Data Documentation

int inet::SCTPCommand::assocId
protected
int inet::SCTPCommand::fd
protected
int inet::SCTPCommand::gate
protected
L3Address inet::SCTPCommand::localAddr
protected
int inet::SCTPCommand::localPort
protected
int inet::SCTPCommand::numMsgs
protected
double inet::SCTPCommand::prValue
protected
L3Address inet::SCTPCommand::remoteAddr
protected
int inet::SCTPCommand::remotePort
protected
unsigned short inet::SCTPCommand::sendUnordered
protected
int inet::SCTPCommand::sid
protected
int inet::SCTPCommand::ssn
protected

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