ns3::SatArqBufferContext Class Reference

ARQ buffer context is holding information related to the ARQ transmission or reception depending on whether packet(s) are being transmitted or received. More...

#include "satellite-arq-buffer-context.h"

+ Inheritance diagram for ns3::SatArqBufferContext:
+ Collaboration diagram for ns3::SatArqBufferContext:

Public Member Functions

 SatArqBufferContext ()
 Default constructor. More...
 
 ~SatArqBufferContext ()
 
virtual void DoDispose ()
 Dispose of this class instance. More...
 

Static Public Member Functions

static TypeId GetTypeId ()
 Get the type ID. More...
 

Public Attributes

Ptr< Packet > m_pdu
 
uint32_t m_retransmissionCount
 
bool m_rxStatus
 
uint32_t m_seqNo
 
EventId m_waitingTimer
 

Detailed Description

ARQ buffer context is holding information related to the ARQ transmission or reception depending on whether packet(s) are being transmitted or received.

The SatArqBufferContext is used only when ARQ is enabled, i.e. encapsulator is of type SatReturnLinkEncapsulatorArq or SatGenericStreamEncapsulatorArq.

Definition at line 38 of file satellite-arq-buffer-context.h.

Constructor & Destructor Documentation

◆ SatArqBufferContext()

ns3::SatArqBufferContext::SatArqBufferContext ( )

Default constructor.

Definition at line 32 of file satellite-arq-buffer-context.cc.

◆ ~SatArqBufferContext()

ns3::SatArqBufferContext::~SatArqBufferContext ( )
inline

Definition at line 46 of file satellite-arq-buffer-context.h.

Member Function Documentation

◆ DoDispose()

void ns3::SatArqBufferContext::DoDispose ( void  )
virtual

Dispose of this class instance.

Definition at line 49 of file satellite-arq-buffer-context.cc.

References m_pdu, and m_waitingTimer.

◆ GetTypeId()

TypeId ns3::SatArqBufferContext::GetTypeId ( void  )
static

Get the type ID.

Returns
the object TypeId

Definition at line 42 of file satellite-arq-buffer-context.cc.

Member Data Documentation

◆ m_pdu

Ptr<Packet> ns3::SatArqBufferContext::m_pdu

Definition at line 62 of file satellite-arq-buffer-context.h.

Referenced by DoDispose().

◆ m_retransmissionCount

uint32_t ns3::SatArqBufferContext::m_retransmissionCount

Definition at line 64 of file satellite-arq-buffer-context.h.

◆ m_rxStatus

bool ns3::SatArqBufferContext::m_rxStatus

Definition at line 66 of file satellite-arq-buffer-context.h.

◆ m_seqNo

uint32_t ns3::SatArqBufferContext::m_seqNo

Definition at line 63 of file satellite-arq-buffer-context.h.

◆ m_waitingTimer

EventId ns3::SatArqBufferContext::m_waitingTimer

Definition at line 65 of file satellite-arq-buffer-context.h.

Referenced by DoDispose().


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