#include <SCTPMessage.h>
inet::sctp::SCTPErrorChunk::SCTPErrorChunk |
( |
const char * |
name = nullptr , |
|
|
int32 |
kind = 0 |
|
) |
| |
|
inline |
SCTPErrorChunk_Base(const char *name=nullptr, short kind=0)
inet::sctp::SCTPErrorChunk::SCTPErrorChunk |
( |
const SCTPErrorChunk & |
other | ) |
|
|
inline |
void copy(const SCTPErrorChunk &other)
Definition: SCTPMessage.cc:159
SCTPErrorChunk_Base(const char *name=nullptr, short kind=0)
inet::sctp::SCTPErrorChunk::~SCTPErrorChunk |
( |
| ) |
|
void clean()
Definition: SCTPMessage.cc:213
void inet::sctp::SCTPErrorChunk::addParameters |
( |
cPacket * |
msg | ) |
|
|
virtual |
void inet::sctp::SCTPErrorChunk::clean |
( |
| ) |
|
|
private |
std::vector< cPacket * > parameterList
Definition: SCTPMessage.h:86
161 for (
const auto & elem : other.parameterList) {
162 cPacket *param = (elem)->
dup();
std::vector< cPacket * > parameterList
Definition: SCTPMessage.h:86
virtual SCTPErrorChunk * dup() const override
Definition: SCTPMessage.h:98
uint32 inet::sctp::SCTPErrorChunk::getParametersArraySize |
( |
| ) |
const |
|
overridevirtual |
void clean()
Definition: SCTPMessage.cc:213
SCTPErrorChunk_Base & operator=(const SCTPErrorChunk_Base &other)
void copy(const SCTPErrorChunk &other)
Definition: SCTPMessage.cc:159
cPacket * inet::sctp::SCTPErrorChunk::removeParameter |
( |
| ) |
|
|
virtual |
Removes and returns the first message object in this SCTP packet.
204 this->setByteLength(this->getByteLength() +
ADD_PADDING(msg->getByteLength()));
std::vector< cPacket * > parameterList
Definition: SCTPMessage.h:86
#define ADD_PADDING(x)
Definition: SCTPAssociation.h:261
void inet::sctp::SCTPErrorChunk::setParameters |
( |
uint32 |
k, |
|
|
const cPacketPtr & |
parameters_var |
|
) |
| |
|
overridevirtual |
Generated but unused method, should not be called.
185 throw new cException(
this,
"setParameter() not supported, use addParameter()");
void inet::sctp::SCTPErrorChunk::setParametersArraySize |
( |
uint32 |
size | ) |
|
|
overridevirtual |
170 throw new cException(
this,
"setParametersArraySize() not supported, use addParameter()");
std::vector<cPacket *> inet::sctp::SCTPErrorChunk::parameterList |
|
protected |
The documentation for this class was generated from the following files: