The packet for the Automatic Repeat reQuest (ARQ) acknowledgment (ACK) messages. More...
#include "satellite-control-message.h"
Public Member Functions | |
| SatArqAckMessage () | |
| Constructor for SatArqAckMessage. | |
| ~SatArqAckMessage () | |
| Destructor for SatArqAckMessage. | |
| uint8_t | GetFlowId () const |
| Get the sequence number to be ACK'ed. | |
| SatControlMsgTag::SatControlMsgType_t | GetMsgType () const |
| Get type of the message. | |
| uint8_t | GetSequenceNumber () const |
| Get the sequence number to be ACK'ed. | |
| virtual uint32_t | GetSizeInBytes () const |
| Get real size of the ACK message, which can be used to e.g. | |
| void | SetFlowId (uint8_t sn) |
| Set the flow id to be ACK'ed. | |
| void | SetSequenceNumber (uint8_t sn) |
| Set the sequence number to be ACK'ed. | |
Static Public Member Functions | |
| static TypeId | GetTypeId (void) |
| methods derived from base classes | |
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 523 of file satellite-control-message.h.
| ns3::SatArqAckMessage::SatArqAckMessage | ( | ) |
Constructor for SatArqAckMessage.
Definition at line 591 of file satellite-control-message.cc.
References m_flowId, and m_sequenceNumber.
| ns3::SatArqAckMessage::~SatArqAckMessage | ( | ) |
Destructor for SatArqAckMessage.
Definition at line 598 of file satellite-control-message.cc.
| uint8_t ns3::SatArqAckMessage::GetFlowId | ( | ) | const |
Get the sequence number to be ACK'ed.
Definition at line 624 of file satellite-control-message.cc.
References m_flowId.
|
inlinevirtual |
Get type of the message.
Implements ns3::SatControlMessage.
Definition at line 545 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 611 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 630 of file satellite-control-message.cc.
|
static |
methods derived from base classes
Definition at line 583 of file satellite-control-message.cc.
References ns3::SatControlMessage::SatControlMessage().
| void ns3::SatArqAckMessage::SetFlowId | ( | uint8_t | sn | ) |
Set the flow id to be ACK'ed.
| sn | Sequence number |
Definition at line 617 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 604 of file satellite-control-message.cc.
References m_sequenceNumber.
|
private |
Definition at line 582 of file satellite-control-message.h.
Referenced by SatArqAckMessage(), GetFlowId(), and SetFlowId().
|
private |
Definition at line 581 of file satellite-control-message.h.
Referenced by SatArqAckMessage(), GetSequenceNumber(), and SetSequenceNumber().