INET Framework for OMNeT++/OMNEST
inet::sctp::SCTPHeartbeatChunk Class Reference

Class generated from inet/transportlayer/sctp/SCTPMessage.msg:208 by nedtool. More...

#include <SCTPMessage_m.h>

Inheritance diagram for inet::sctp::SCTPHeartbeatChunk:
inet::sctp::SCTPChunk

Public Member Functions

 SCTPHeartbeatChunk (const char *name=nullptr, short kind=0)
 
 SCTPHeartbeatChunk (const SCTPHeartbeatChunk &other)
 
virtual ~SCTPHeartbeatChunk ()
 
SCTPHeartbeatChunkoperator= (const SCTPHeartbeatChunk &other)
 
virtual SCTPHeartbeatChunkdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual L3AddressgetRemoteAddr ()
 
virtual const L3AddressgetRemoteAddr () const
 
virtual void setRemoteAddr (const L3Address &remoteAddr)
 
virtual ::omnetpp::simtime_t getTimeField () const
 
virtual void setTimeField (::omnetpp::simtime_t timeField)
 
virtual void setInfoArraySize (unsigned int size)
 
virtual unsigned int getInfoArraySize () const
 
virtual char getInfo (unsigned int k) const
 
virtual void setInfo (unsigned int k, char info)
 
- Public Member Functions inherited from inet::sctp::SCTPChunk
 SCTPChunk (const char *name=nullptr, short kind=0)
 
 SCTPChunk (const SCTPChunk &other)
 
virtual ~SCTPChunk ()
 
SCTPChunkoperator= (const SCTPChunk &other)
 
virtual uint8_t getChunkType () const
 
virtual void setChunkType (uint8_t chunkType)
 
virtual uint32_t getFlags () const
 
virtual void setFlags (uint32_t flags)
 

Protected Member Functions

bool operator== (const SCTPHeartbeatChunk &)
 
- Protected Member Functions inherited from inet::sctp::SCTPChunk
bool operator== (const SCTPChunk &)
 

Protected Attributes

L3Address remoteAddr
 
::omnetpp::simtime_t timeField
 
char * info
 
unsigned int info_arraysize
 
- Protected Attributes inherited from inet::sctp::SCTPChunk
uint8_t chunkType
 
uint32_t flags
 

Private Member Functions

void copy (const SCTPHeartbeatChunk &other)
 

Detailed Description

Class generated from inet/transportlayer/sctp/SCTPMessage.msg:208 by nedtool.

message SCTPHeartbeatChunk extends SCTPChunk
{
    L3Address remoteAddr;
    simtime_t timeField;
    char info[];
}

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from inet::sctp::SCTPChunk.

980 {return new SCTPHeartbeatChunk(*this);}
SCTPHeartbeatChunk(const char *name=nullptr, short kind=0)
virtual char inet::sctp::SCTPHeartbeatChunk::getInfo ( unsigned int  k) const
virtual
virtual unsigned int inet::sctp::SCTPHeartbeatChunk::getInfoArraySize ( ) const
virtual
virtual L3Address& inet::sctp::SCTPHeartbeatChunk::getRemoteAddr ( )
virtual
virtual const L3Address& inet::sctp::SCTPHeartbeatChunk::getRemoteAddr ( ) const
inlinevirtual

Referenced by getRemoteAddr().

986 {return const_cast<SCTPHeartbeatChunk*>(this)->getRemoteAddr();}
SCTPHeartbeatChunk(const char *name=nullptr, short kind=0)
virtual L3Address & getRemoteAddr()
virtual ::omnetpp::simtime_t inet::sctp::SCTPHeartbeatChunk::getTimeField ( ) const
SCTPHeartbeatChunk& inet::sctp::SCTPHeartbeatChunk::operator= ( const SCTPHeartbeatChunk other)
bool inet::sctp::SCTPHeartbeatChunk::operator== ( const SCTPHeartbeatChunk )
protected
virtual void inet::sctp::SCTPHeartbeatChunk::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::sctp::SCTPChunk.

Referenced by inet::sctp::doParsimPacking().

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

Reimplemented from inet::sctp::SCTPChunk.

Referenced by inet::sctp::doParsimUnpacking().

virtual void inet::sctp::SCTPHeartbeatChunk::setInfo ( unsigned int  k,
char  info 
)
virtual
virtual void inet::sctp::SCTPHeartbeatChunk::setInfoArraySize ( unsigned int  size)
virtual
virtual void inet::sctp::SCTPHeartbeatChunk::setRemoteAddr ( const L3Address remoteAddr)
virtual
virtual void inet::sctp::SCTPHeartbeatChunk::setTimeField ( ::omnetpp::simtime_t  timeField)
virtual

Member Data Documentation

char* inet::sctp::SCTPHeartbeatChunk::info
protected
unsigned int inet::sctp::SCTPHeartbeatChunk::info_arraysize
protected
L3Address inet::sctp::SCTPHeartbeatChunk::remoteAddr
protected
::omnetpp::simtime_t inet::sctp::SCTPHeartbeatChunk::timeField
protected

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