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

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

#include <SCTPCommand_m.h>

Inheritance diagram for inet::SCTPSendInfo:
inet::SCTPCommand

Public Member Functions

 SCTPSendInfo (const char *name=nullptr, short kind=0)
 
 SCTPSendInfo (const SCTPSendInfo &other)
 
virtual ~SCTPSendInfo ()
 
SCTPSendInfooperator= (const SCTPSendInfo &other)
 
virtual SCTPSendInfodup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual unsigned int getPrMethod () const
 
virtual void setPrMethod (unsigned int prMethod)
 
virtual bool getLast () const
 
virtual void setLast (bool last)
 
virtual unsigned int getPpid () const
 
virtual void setPpid (unsigned int ppid)
 
virtual bool getPrimary () const
 
virtual void setPrimary (bool primary)
 
virtual bool getSackNow () const
 
virtual void setSackNow (bool sackNow)
 
- 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 SCTPSendInfo &)
 
- Protected Member Functions inherited from inet::SCTPCommand
bool operator== (const SCTPCommand &)
 

Protected Attributes

unsigned int prMethod
 
bool last
 
unsigned int ppid
 
bool primary
 
bool sackNow
 
- 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 SCTPSendInfo &other)
 

Detailed Description

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

//
// Control info to be used with the SEND command.
//
// @see ~SctpCommandCode, ~SCTP
//
message SCTPSendInfo extends SCTPCommand
{
    unsigned int prMethod;
    bool last;
    unsigned int ppid = 0;
    bool primary = true;
    bool sackNow = false;
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::SCTPCommand.

Referenced by inet::SCTPNatServer::sendInfo().

348 {return new SCTPSendInfo(*this);}
SCTPSendInfo(const char *name=nullptr, short kind=0)
virtual bool inet::SCTPSendInfo::getLast ( ) const
virtual
virtual unsigned int inet::SCTPSendInfo::getPpid ( ) const
virtual
virtual bool inet::SCTPSendInfo::getPrimary ( ) const
virtual
virtual unsigned int inet::SCTPSendInfo::getPrMethod ( ) const
virtual
virtual bool inet::SCTPSendInfo::getSackNow ( ) const
virtual
SCTPSendInfo& inet::SCTPSendInfo::operator= ( const SCTPSendInfo other)
bool inet::SCTPSendInfo::operator== ( const SCTPSendInfo )
protected
virtual void inet::SCTPSendInfo::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::SCTPCommand.

Referenced by inet::doParsimPacking().

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

Reimplemented from inet::SCTPCommand.

Referenced by inet::doParsimUnpacking().

virtual void inet::SCTPSendInfo::setPpid ( unsigned int  ppid)
virtual
virtual void inet::SCTPSendInfo::setPrimary ( bool  primary)
virtual
virtual void inet::SCTPSendInfo::setSackNow ( bool  sackNow)
virtual

Member Data Documentation

bool inet::SCTPSendInfo::last
protected
unsigned int inet::SCTPSendInfo::ppid
protected
bool inet::SCTPSendInfo::primary
protected
unsigned int inet::SCTPSendInfo::prMethod
protected
bool inet::SCTPSendInfo::sackNow
protected

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