The packet for the Automatic Repeat reQuest (ARQ) acknowledgment (ACK) messages. More...
#include "satellite-control-message.h"
Public Member Functions | |
SatArqAckMessage () | |
Constructor for SatArqAckMessage. More... | |
~SatArqAckMessage () | |
Destructor for SatArqAckMessage. More... | |
uint8_t | GetFlowId () const |
Get the sequence number to be ACK'ed. More... | |
virtual TypeId | GetInstanceTypeId (void) const |
Get the type ID of instance. More... | |
SatControlMsgTag::SatControlMsgType_t | GetMsgType () const |
Get type of the message. More... | |
uint8_t | GetSequenceNumber () const |
Get the sequence number to be ACK'ed. More... | |
virtual uint32_t | GetSizeInBytes () const |
Get real size of the ACK message, which can be used to e.g. More... | |
void | SetFlowId (uint8_t sn) |
Set the flow id to be ACK'ed. More... | |
void | SetSequenceNumber (uint8_t sn) |
Set the sequence number to be ACK'ed. More... | |
Static Public Member Functions | |
static TypeId | GetTypeId (void) |
methods derived from base classes More... | |
Private Attributes | |
uint8_t | m_flowId |
uint8_t | m_sequenceNumber |
The packet for the Automatic Repeat reQuest (ARQ) acknowledgment (ACK) messages.
(Tagged by SatControlMsgTag with type value SAT_ARQ_ACK)
Definition at line 535 of file satellite-control-message.h.
ns3::SatArqAckMessage::SatArqAckMessage | ( | ) |
Constructor for SatArqAckMessage.
Definition at line 631 of file satellite-control-message.cc.
ns3::SatArqAckMessage::~SatArqAckMessage | ( | ) |
Destructor for SatArqAckMessage.
Definition at line 638 of file satellite-control-message.cc.
uint8_t ns3::SatArqAckMessage::GetFlowId | ( | ) | const |
Get the sequence number to be ACK'ed.
Definition at line 664 of file satellite-control-message.cc.
References m_flowId.
|
virtual |
Get the type ID of instance.
Definition at line 624 of file satellite-control-message.cc.
References GetTypeId().
|
inlinevirtual |
Get type of the message.
Implements ns3::SatControlMessage.
Definition at line 563 of file satellite-control-message.h.
References ns3::SatControlMsgTag::SAT_ARQ_ACK.
uint8_t ns3::SatArqAckMessage::GetSequenceNumber | ( | ) | const |
Get the sequence number to be ACK'ed.
Definition at line 651 of file satellite-control-message.cc.
References m_sequenceNumber.
|
virtual |
Get real size of the ACK message, which can be used to e.g.
simulate real size.
Implements ns3::SatControlMessage.
Definition at line 670 of file satellite-control-message.cc.
|
static |
methods derived from base classes
Definition at line 615 of file satellite-control-message.cc.
Referenced by GetInstanceTypeId().
void ns3::SatArqAckMessage::SetFlowId | ( | uint8_t | sn | ) |
Set the flow id to be ACK'ed.
sn | Sequence number |
Definition at line 657 of file satellite-control-message.cc.
References m_flowId.
void ns3::SatArqAckMessage::SetSequenceNumber | ( | uint8_t | sn | ) |
Set the sequence number to be ACK'ed.
sn | Sequence number |
Definition at line 644 of file satellite-control-message.cc.
References m_sequenceNumber.
|
private |
Definition at line 600 of file satellite-control-message.h.
Referenced by GetFlowId(), and SetFlowId().
|
private |
Definition at line 599 of file satellite-control-message.h.
Referenced by GetSequenceNumber(), and SetSequenceNumber().