INET Framework for OMNeT++/OMNEST
|
#include <SCTPMessage.h>
Public Member Functions | |
SCTPAsconfChunk (const char *name=nullptr, int32 kind=0) | |
SCTPAsconfChunk (const SCTPAsconfChunk &other) | |
SCTPAsconfChunk & | operator= (const SCTPAsconfChunk &other) |
virtual SCTPAsconfChunk * | dup () const override |
virtual void | setAsconfParamsArraySize (const uint32 size) override |
virtual uint32 | getAsconfParamsArraySize () const override |
virtual void | setAsconfParams (const uint32 k, const cPacketPtr ¶meters_var) override |
Generated but unused method, should not be called. More... | |
virtual cPacketPtr & | getAsconfParams (uint32 k) override |
Returns the kth parameter in this SCTP Reset Chunk. More... | |
virtual void | addAsconfParam (cPacket *msg) |
Adds a message object to the SCTP packet. More... | |
virtual cPacket * | removeAsconfParam () |
Removes and returns the first message object in this SCTP packet. More... | |
Public Member Functions inherited from inet::sctp::SCTPAsconfChunk_Base | |
virtual | ~SCTPAsconfChunk_Base () |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
virtual uint32_t | getSerialNumber () const |
virtual void | setSerialNumber (uint32_t serialNumber) |
virtual L3Address & | getAddressParam () |
virtual const L3Address & | getAddressParam () const |
virtual void | setAddressParam (const L3Address &addressParam) |
virtual uint32_t | getPeerVTag () const |
virtual void | setPeerVTag (uint32_t peerVTag) |
virtual void | setAsconfParamsArraySize (unsigned int size)=0 |
virtual cPacketPtr & | getAsconfParams (unsigned int k)=0 |
virtual const cPacketPtr & | getAsconfParams (unsigned int k) const |
virtual void | setAsconfParams (unsigned int k, const cPacketPtr &asconfParams)=0 |
Public Member Functions inherited from inet::sctp::SCTPChunk | |
SCTPChunk (const char *name=nullptr, short kind=0) | |
SCTPChunk (const SCTPChunk &other) | |
virtual | ~SCTPChunk () |
SCTPChunk & | operator= (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 Attributes | |
std::vector< cPacket * > | parameterList |
Protected Attributes inherited from inet::sctp::SCTPAsconfChunk_Base | |
uint32_t | serialNumber |
L3Address | addressParam |
uint32_t | peerVTag |
Protected Attributes inherited from inet::sctp::SCTPChunk | |
uint8_t | chunkType |
uint32_t | flags |
Additional Inherited Members | |
Protected Member Functions inherited from inet::sctp::SCTPAsconfChunk_Base | |
bool | operator== (const SCTPAsconfChunk_Base &) |
SCTPAsconfChunk_Base (const char *name=nullptr, short kind=0) | |
SCTPAsconfChunk_Base (const SCTPAsconfChunk_Base &other) | |
SCTPAsconfChunk_Base & | operator= (const SCTPAsconfChunk_Base &other) |
Protected Member Functions inherited from inet::sctp::SCTPChunk | |
bool | operator== (const SCTPChunk &) |
|
inline |
|
inline |
|
virtual |
Adds a message object to the SCTP packet.
The packet length will be adjusted
Referenced by inet::serializer::SCTPSerializer::parse(), and inet::sctp::SCTPAssociation::sendAsconf().
|
inlineoverridevirtual |
Reimplemented from inet::sctp::SCTPAsconfChunk_Base.
Referenced by inet::sctp::SCTPAssociation::processAsconfAckArrived(), inet::sctp::SCTPAssociation::retransmitAsconf(), and inet::sctp::SCTPAssociation::sendAsconf().
|
overridevirtual |
Returns the kth parameter in this SCTP Reset Chunk.
Referenced by inet::serializer::SCTPSerializer::deserialize().
|
overridevirtual |
Implements inet::sctp::SCTPAsconfChunk_Base.
Referenced by inet::serializer::SCTPSerializer::deserialize(), inet::sctp::SCTPAssociation::processAsconfAckArrived(), and inet::sctp::SCTPAssociation::processAsconfArrived().
SCTPAsconfChunk & inet::sctp::SCTPAsconfChunk::operator= | ( | const SCTPAsconfChunk & | other | ) |
|
virtual |
Removes and returns the first message object in this SCTP packet.
Referenced by inet::sctp::SCTPAssociation::processAsconfAckArrived(), and inet::sctp::SCTPAssociation::processAsconfArrived().
|
overridevirtual |
|
overridevirtual |
|
protected |
Referenced by operator=().