RINASim
October 2016
Documentation of framework for OMNeT++
|
#include <ControlPDU_m.h>
Public Member Functions | |
NAckPDU (const char *name=nullptr, int kind=0) | |
NAckPDU (const NAckPDU &other) | |
virtual | ~NAckPDU () |
NAckPDU & | operator= (const NAckPDU &other) |
virtual NAckPDU * | dup () const |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) |
virtual unsigned int | getAckNackSeqNum () const |
virtual void | setAckNackSeqNum (unsigned int ackNackSeqNum) |
![]() | |
ControlPDU (const char *name=nullptr, int kind=0) | |
ControlPDU (const ControlPDU &other) | |
virtual | ~ControlPDU () |
ControlPDU & | operator= (const ControlPDU &other) |
![]() | |
PDU (const char *name=NULL, int kind=0) | |
PDU (const PDU &other) | |
PDU & | operator= (const PDU &other) |
unsigned int | getHeaderSize () |
unsigned int | getSize () |
![]() | |
virtual | ~PDU_Base () |
virtual const char * | getDisplayString () const |
virtual void | setDisplayString (const char *displayString) |
virtual unsigned int | getVersion () const |
virtual void | setVersion (unsigned int version) |
virtual Address & | getSrcAddr () |
virtual const Address & | getSrcAddr () const |
virtual void | setSrcAddr (const Address &srcAddr) |
virtual Address & | getDstAddr () |
virtual const Address & | getDstAddr () const |
virtual void | setDstAddr (const Address &dstAddr) |
virtual APN & | getSrcApn () |
virtual const APN & | getSrcApn () const |
virtual void | setSrcApn (const APN &srcApn) |
virtual APN & | getDstApn () |
virtual const APN & | getDstApn () const |
virtual void | setDstApn (const APN &dstApn) |
virtual ConnectionId & | getConnId () |
virtual const ConnectionId & | getConnId () const |
virtual void | setConnId (const ConnectionId &connId) |
virtual int | getType () const |
virtual void | setType (int type) |
virtual int | getFlags () const |
virtual void | setFlags (int flags) |
virtual unsigned int | getPduLen () const |
virtual void | setPduLen (unsigned int pduLen) |
virtual unsigned int | getSeqNum () const |
virtual void | setSeqNum (unsigned int seqNum) |
virtual unsigned int | getHopCount () const |
virtual void | setHopCount (unsigned int hopCount) |
Protected Member Functions | |
bool | operator== (const NAckPDU &) |
![]() | |
bool | operator== (const ControlPDU &) |
![]() | |
bool | operator== (const PDU_Base &) |
PDU_Base (const char *name=nullptr, int kind=0) | |
PDU_Base (const PDU_Base &other) | |
PDU_Base & | operator= (const PDU_Base &other) |
Protected Attributes | |
unsigned int | ackNackSeqNum |
![]() | |
::omnetpp::opp_string | displayString |
unsigned int | version |
Address | srcAddr |
Address | dstAddr |
APN | srcApn |
APN | dstApn |
ConnectionId | connId |
int | type |
int | flags |
unsigned int | pduLen |
unsigned int | seqNum |
unsigned int | hopCount |
Private Member Functions | |
void | copy (const NAckPDU &other) |
Class generated from DIF/EFCP/DTCP/ControlPDU.msg:34
by nedtool.
packet NAckPDU extends ControlPDU { unsigned int ackNackSeqNum;
}
Definition at line 67 of file ControlPDU_m.h.
NAckPDU::NAckPDU | ( | const char * | name = nullptr , |
int | kind = 0 |
||
) |
Definition at line 403 of file ControlPDU_m.cc.
Referenced by dup().
NAckPDU::NAckPDU | ( | const NAckPDU & | other | ) |
Definition at line 408 of file ControlPDU_m.cc.
|
virtual |
Definition at line 413 of file ControlPDU_m.cc.
|
private |
Definition at line 425 of file ControlPDU_m.cc.
Referenced by NAckPDU(), and operator=().
|
inlinevirtual |
Reimplemented from ControlPDU.
Reimplemented in SelectiveNackPDU, SelectiveAckPDU, SelectiveNackFlowPDU, SelectiveAckFlowPDU, SelectiveNAckFlow, FlowControlOnlyPDU, NackFlowPDU, AckFlowPDU, NackOnlyPDU, AckOnlyPDU, and FlowControlPDU.
Definition at line 84 of file ControlPDU_m.h.
|
virtual |
Definition at line 442 of file ControlPDU_m.cc.
Referenced by NAckPDUDescriptor::getFieldValueAsString(), and DTP::handleControlPDUFromRMT().
Definition at line 417 of file ControlPDU_m.cc.
|
protected |
|
virtual |
Reimplemented from ControlPDU.
Reimplemented in SelectiveNackPDU, SelectiveAckPDU, SelectiveNackFlowPDU, SelectiveAckFlowPDU, SelectiveNAckFlow, FlowControlOnlyPDU, NackFlowPDU, AckFlowPDU, NackOnlyPDU, AckOnlyPDU, and FlowControlPDU.
Definition at line 430 of file ControlPDU_m.cc.
Referenced by doParsimPacking(), FlowControlPDU::parsimPack(), AckOnlyPDU::parsimPack(), and NackOnlyPDU::parsimPack().
|
virtual |
Reimplemented from ControlPDU.
Reimplemented in SelectiveNackPDU, SelectiveAckPDU, SelectiveNackFlowPDU, SelectiveAckFlowPDU, SelectiveNAckFlow, FlowControlOnlyPDU, NackFlowPDU, AckFlowPDU, NackOnlyPDU, AckOnlyPDU, and FlowControlPDU.
Definition at line 436 of file ControlPDU_m.cc.
Referenced by doParsimUnpacking(), FlowControlPDU::parsimUnpack(), AckOnlyPDU::parsimUnpack(), and NackOnlyPDU::parsimUnpack().
|
virtual |
Definition at line 447 of file ControlPDU_m.cc.
Referenced by RcvrAckPolicyLG::run(), DTP::sendAckFlowPDU(), DTP::sendAckOnlyPDU(), and NAckPDUDescriptor::setFieldValueAsString().
|
protected |
Definition at line 70 of file ControlPDU_m.h.
Referenced by copy(), getAckNackSeqNum(), NAckPDU(), parsimPack(), parsimUnpack(), and setAckNackSeqNum().