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

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

#include <SCTPCommand_m.h>

Inheritance diagram for inet::SCTPSimpleMessage:
inet::NetPerfMeterDataMessage

Public Member Functions

 SCTPSimpleMessage (const char *name=nullptr, short kind=0)
 
 SCTPSimpleMessage (const SCTPSimpleMessage &other)
 
virtual ~SCTPSimpleMessage ()
 
SCTPSimpleMessageoperator= (const SCTPSimpleMessage &other)
 
virtual SCTPSimpleMessagedup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual uint32_t getDataLen () const
 
virtual void setDataLen (uint32_t dataLen)
 
virtual void setDataArraySize (unsigned int size)
 
virtual unsigned int getDataArraySize () const
 
virtual char getData (unsigned int k) const
 
virtual void setData (unsigned int k, char data)
 
virtual ::omnetpp::simtime_t getCreationTime () const
 
virtual void setCreationTime (::omnetpp::simtime_t creationTime)
 
virtual bool getEncaps () const
 
virtual void setEncaps (bool encaps)
 

Protected Member Functions

bool operator== (const SCTPSimpleMessage &)
 

Protected Attributes

uint32_t dataLen
 
char * data
 
unsigned int data_arraysize
 
::omnetpp::simtime_t creationTime
 
bool encaps
 

Private Member Functions

void copy (const SCTPSimpleMessage &other)
 

Detailed Description

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

packet SCTPSimpleMessage
{
    uint32 dataLen;     //TODO remove it, use set/getDataArraySize() functions only
    char data[];
    simtime_t creationTime = 0;
    bool encaps = false;
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented in inet::NetPerfMeterDataMessage.

801 {return new SCTPSimpleMessage(*this);}
SCTPSimpleMessage(const char *name=nullptr, short kind=0)
virtual ::omnetpp::simtime_t inet::SCTPSimpleMessage::getCreationTime ( ) const
virtual char inet::SCTPSimpleMessage::getData ( unsigned int  k) const
virtual
virtual unsigned int inet::SCTPSimpleMessage::getDataArraySize ( ) const
virtual
virtual bool inet::SCTPSimpleMessage::getEncaps ( ) const
virtual
SCTPSimpleMessage& inet::SCTPSimpleMessage::operator= ( const SCTPSimpleMessage other)
bool inet::SCTPSimpleMessage::operator== ( const SCTPSimpleMessage )
protected
virtual void inet::SCTPSimpleMessage::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented in inet::NetPerfMeterDataMessage.

Referenced by inet::doParsimPacking().

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

Reimplemented in inet::NetPerfMeterDataMessage.

Referenced by inet::doParsimUnpacking().

virtual void inet::SCTPSimpleMessage::setCreationTime ( ::omnetpp::simtime_t  creationTime)
virtual

Member Data Documentation

::omnetpp::simtime_t inet::SCTPSimpleMessage::creationTime
protected
char* inet::SCTPSimpleMessage::data
protected
unsigned int inet::SCTPSimpleMessage::data_arraysize
protected
uint32_t inet::SCTPSimpleMessage::dataLen
protected
bool inet::SCTPSimpleMessage::encaps
protected

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