RINASim  October 2016
Documentation of framework for OMNeT++
AckOnlyPDU Class Reference

#include <ControlPDU_m.h>

Inheritance diagram for AckOnlyPDU:
NAckPDU ControlPDU PDU PDU_Base

Public Member Functions

 AckOnlyPDU (const char *name=nullptr, int kind=0)
 
 AckOnlyPDU (const AckOnlyPDU &other)
 
virtual ~AckOnlyPDU ()
 
AckOnlyPDUoperator= (const AckOnlyPDU &other)
 
virtual AckOnlyPDUdup () const
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b)
 
- Public Member Functions inherited from NAckPDU
 NAckPDU (const char *name=nullptr, int kind=0)
 
 NAckPDU (const NAckPDU &other)
 
virtual ~NAckPDU ()
 
NAckPDUoperator= (const NAckPDU &other)
 
virtual unsigned int getAckNackSeqNum () const
 
virtual void setAckNackSeqNum (unsigned int ackNackSeqNum)
 
- Public Member Functions inherited from ControlPDU
 ControlPDU (const char *name=nullptr, int kind=0)
 
 ControlPDU (const ControlPDU &other)
 
virtual ~ControlPDU ()
 
ControlPDUoperator= (const ControlPDU &other)
 
- Public Member Functions inherited from PDU
 PDU (const char *name=NULL, int kind=0)
 
 PDU (const PDU &other)
 
PDUoperator= (const PDU &other)
 
unsigned int getHeaderSize ()
 
unsigned int getSize ()
 
- Public Member Functions inherited from PDU_Base
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 AddressgetSrcAddr ()
 
virtual const AddressgetSrcAddr () const
 
virtual void setSrcAddr (const Address &srcAddr)
 
virtual AddressgetDstAddr ()
 
virtual const AddressgetDstAddr () const
 
virtual void setDstAddr (const Address &dstAddr)
 
virtual APNgetSrcApn ()
 
virtual const APNgetSrcApn () const
 
virtual void setSrcApn (const APN &srcApn)
 
virtual APNgetDstApn ()
 
virtual const APNgetDstApn () const
 
virtual void setDstApn (const APN &dstApn)
 
virtual ConnectionIdgetConnId ()
 
virtual const ConnectionIdgetConnId () 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 AckOnlyPDU &)
 
- Protected Member Functions inherited from NAckPDU
bool operator== (const NAckPDU &)
 
- Protected Member Functions inherited from ControlPDU
bool operator== (const ControlPDU &)
 
- Protected Member Functions inherited from PDU_Base
bool operator== (const PDU_Base &)
 
 PDU_Base (const char *name=nullptr, int kind=0)
 
 PDU_Base (const PDU_Base &other)
 
PDU_Baseoperator= (const PDU_Base &other)
 

Private Member Functions

void copy (const AckOnlyPDU &other)
 

Additional Inherited Members

- Protected Attributes inherited from NAckPDU
unsigned int ackNackSeqNum
 
- Protected Attributes inherited from PDU_Base
::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
 

Detailed Description

Class generated from DIF/EFCP/DTCP/ControlPDU.msg:49 by nedtool.

packet AckOnlyPDU extends NAckPDU
{
    type = ACK_ONLY_PDU;
}

Definition at line 163 of file ControlPDU_m.h.

Constructor & Destructor Documentation

AckOnlyPDU::AckOnlyPDU ( const char *  name = nullptr,
int  kind = 0 
)

Definition at line 1033 of file ControlPDU_m.cc.

Referenced by dup().

AckOnlyPDU::AckOnlyPDU ( const AckOnlyPDU other)

Definition at line 1038 of file ControlPDU_m.cc.

AckOnlyPDU::~AckOnlyPDU ( )
virtual

Definition at line 1043 of file ControlPDU_m.cc.

Member Function Documentation

void AckOnlyPDU::copy ( const AckOnlyPDU other)
private

Definition at line 1055 of file ControlPDU_m.cc.

Referenced by AckOnlyPDU(), and operator=().

virtual AckOnlyPDU* AckOnlyPDU::dup ( ) const
inlinevirtual

Reimplemented from NAckPDU.

Definition at line 179 of file ControlPDU_m.h.

AckOnlyPDU & AckOnlyPDU::operator= ( const AckOnlyPDU other)

Definition at line 1047 of file ControlPDU_m.cc.

bool AckOnlyPDU::operator== ( const AckOnlyPDU )
protected
void AckOnlyPDU::parsimPack ( omnetpp::cCommBuffer *  b) const
virtual

Reimplemented from NAckPDU.

Definition at line 1059 of file ControlPDU_m.cc.

Referenced by doParsimPacking().

void AckOnlyPDU::parsimUnpack ( omnetpp::cCommBuffer *  b)
virtual

Reimplemented from NAckPDU.

Definition at line 1064 of file ControlPDU_m.cc.

Referenced by doParsimUnpacking().


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