|
INET Framework for OMNeT++/OMNEST
|
#include <SCTPCommand_m.h>
Public Member Functions | |
| SCTPCommand (const char *name=NULL) | |
| SCTPCommand (const SCTPCommand &other) | |
| virtual | ~SCTPCommand () |
| SCTPCommand & | operator= (const SCTPCommand &other) |
| virtual SCTPCommand * | dup () 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 IPvXAddress & | getLocalAddr () |
| virtual const IPvXAddress & | getLocalAddr () const |
| virtual void | setLocalAddr (const IPvXAddress &localAddr) |
| virtual IPvXAddress & | getRemoteAddr () |
| virtual const IPvXAddress & | getRemoteAddr () 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) |
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.
| SCTPCommand::SCTPCommand | ( | const char * | name = NULL | ) |
Referenced by dup().
| SCTPCommand::SCTPCommand | ( | const SCTPCommand & | other | ) |
| virtual SCTPCommand::~SCTPCommand | ( | ) | [virtual] |
| void SCTPCommand::copy | ( | const SCTPCommand & | other | ) | [private] |
| virtual SCTPCommand* SCTPCommand::dup | ( | ) | const [inline, virtual] |
Reimplemented in SCTPRcvCommand, SCTPInfo, SCTPResetInfo, SCTPPathInfo, SCTPStatusInfo, SCTPConnectInfo, SCTPSendCommand, SCTPOpenCommand, and SCTPErrorInfo.
Definition at line 78 of file SCTPCommand_m.h.
Referenced by SCTPServer::handleMessage().
{return new SCTPCommand(*this);}
| virtual int SCTPCommand::getAssocId | ( | ) | const [virtual] |
Referenced by SCTPSocket::belongsToSocket(), SCTPSocket::connect(), SCTPPeer::handleMessage(), SCTPServer::handleMessage(), SCTP::handleMessage(), SCTPSocket::listen(), SCTPServer::makeAbortNotification(), SCTPServer::makeReceiveRequest(), SCTPPeer::socketDataNotificationArrived(), and SCTPClient::socketDataNotificationArrived().
| virtual int SCTPCommand::getGate | ( | ) | const [virtual] |
Referenced by SCTP::handleMessage().
| virtual double SCTPCommand::getLifetime | ( | ) | const [virtual] |
| virtual IPvXAddress& SCTPCommand::getLocalAddr | ( | ) | [virtual] |
Referenced by SCTPSocket::processMessage().
| 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 int SCTPCommand::getNumMsgs | ( | ) | const [virtual] |
| virtual IPvXAddress& SCTPCommand::getRemoteAddr | ( | ) | [virtual] |
Reimplemented in SCTPResetInfo, and SCTPOpenCommand.
Referenced by SCTPAssociation::process_SEND(), and SCTPSocket::processMessage().
| 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 unsigned short SCTPCommand::getSendUnordered | ( | ) | const [virtual] |
| virtual int SCTPCommand::getSid | ( | ) | const [virtual] |
| virtual int SCTPCommand::getSsn | ( | ) | const [virtual] |
| SCTPCommand& SCTPCommand::operator= | ( | const SCTPCommand & | other | ) |
| bool SCTPCommand::operator== | ( | const SCTPCommand & | ) | [protected] |
| virtual void SCTPCommand::parsimPack | ( | cCommBuffer * | b | ) | [virtual] |
Reimplemented in SCTPRcvCommand, SCTPInfo, SCTPResetInfo, SCTPPathInfo, SCTPStatusInfo, SCTPConnectInfo, SCTPSendCommand, SCTPOpenCommand, and SCTPErrorInfo.
Referenced by doPacking().
| virtual void SCTPCommand::parsimUnpack | ( | cCommBuffer * | b | ) | [virtual] |
Reimplemented in SCTPRcvCommand, SCTPInfo, SCTPResetInfo, SCTPPathInfo, SCTPStatusInfo, SCTPConnectInfo, SCTPSendCommand, SCTPOpenCommand, and SCTPErrorInfo.
Referenced by doUnpacking().
| virtual void SCTPCommand::setAssocId | ( | int | assocId | ) | [virtual] |
Referenced by SCTPSocket::abort(), SCTPSocket::close(), SCTPSocket::connect(), SCTPSocket::connectx(), SCTPPeer::generateAndSend(), SCTPServer::generateAndSend(), SCTPPeer::handleMessage(), SCTPServer::handleMessage(), SCTPPeer::handleTimer(), SCTPServer::handleTimer(), SCTPSocket::listen(), SCTPServer::makeAbortNotification(), SCTPServer::makeDefaultReceive(), SCTPServer::makeReceiveRequest(), SCTPAssociation::pathStatusIndication(), SCTPAssociation::pushUlp(), SCTPSocket::requestStatus(), SCTPSocket::send(), SCTPAssociation::sendDataArrivedNotification(), SCTPAssociation::sendEstabIndicationToApp(), SCTPAssociation::sendIndicationToApp(), SCTPPeer::sendQueueRequest(), SCTPClient::sendQueueRequest(), SCTPClient::setPrimaryPath(), SCTPSocket::shutdown(), SCTPPeer::shutdownReceivedArrived(), SCTPClient::shutdownReceivedArrived(), SCTPPeer::socketDataNotificationArrived(), and SCTPClient::socketDataNotificationArrived().
| virtual void SCTPCommand::setGate | ( | int | gate | ) | [virtual] |
Referenced by SCTPAssociation::pushUlp().
| virtual void SCTPCommand::setLifetime | ( | double | lifetime | ) | [virtual] |
| virtual void SCTPCommand::setLocalAddr | ( | const IPvXAddress & | localAddr | ) | [virtual] |
| virtual void SCTPCommand::setNumMsgs | ( | int | numMsgs | ) | [virtual] |
Referenced by SCTPPeer::handleMessage(), SCTPServer::makeAbortNotification(), SCTPServer::makeDefaultReceive(), SCTPServer::makeReceiveRequest(), SCTPAssociation::sendDataArrivedNotification(), SCTPAssociation::sendEstabIndicationToApp(), SCTPAssociation::sendIndicationToApp(), SCTPPeer::socketDataNotificationArrived(), and SCTPClient::socketDataNotificationArrived().
| virtual void SCTPCommand::setRemoteAddr | ( | const IPvXAddress & | remoteAddr | ) | [virtual] |
Reimplemented in SCTPResetInfo, and SCTPOpenCommand.
Referenced by SCTPAssociation::pushUlp(), SCTPAssociation::sendEstabIndicationToApp(), and SCTPAssociation::sendIndicationToApp().
| virtual void SCTPCommand::setSendUnordered | ( | unsigned short | sendUnordered | ) | [virtual] |
| virtual void SCTPCommand::setSid | ( | int | sid | ) | [virtual] |
Referenced by SCTPPeer::generateAndSend(), SCTPServer::generateAndSend(), SCTPPeer::handleMessage(), SCTPServer::handleMessage(), SCTPServer::makeAbortNotification(), SCTPServer::makeDefaultReceive(), SCTPServer::makeReceiveRequest(), SCTPAssociation::pushUlp(), SCTPSocket::send(), SCTPAssociation::sendDataArrivedNotification(), SCTPPeer::socketDataNotificationArrived(), and SCTPClient::socketDataNotificationArrived().
| virtual void SCTPCommand::setSsn | ( | int | ssn | ) | [virtual] |
Referenced by SCTPAssociation::pushUlp().
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.
IPvXAddress SCTPCommand::localAddr_var [protected] |
Definition at line 62 of file SCTPCommand_m.h.
int SCTPCommand::numMsgs_var [protected] |
Definition at line 58 of file SCTPCommand_m.h.
IPvXAddress SCTPCommand::remoteAddr_var [protected] |
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.