The route request retry table entry. More...
#include "zigbee-nwk-tables.h"
Public Member Functions | |
RreqRetryTableEntry (uint8_t rreqId, EventId rreqRetryEvent, uint8_t rreqRetryCount) | |
The constructor of the RREQ retry table entry. | |
EventId | GetRreqEventId () |
Get the RREQ id of the RREQ retry. | |
uint8_t | GetRreqId () const |
Get the RREQ Id from the entry. | |
uint8_t | GetRreqRetryCount () const |
Get the RREQ retry count from the entry. | |
void | Print (Ptr< OutputStreamWrapper > stream) const |
Print the values of the RREQ retry table entry. | |
void | SetRreqEventId (EventId eventId) |
Set the event id of the RREQ retry. | |
void | SetRreqRetryCount (uint8_t rreqRetryCount) |
Set the RREQ retry count from the entry. | |
![]() | |
SimpleRefCount () | |
Default constructor. | |
SimpleRefCount (const SimpleRefCount &o) | |
Copy constructor. | |
uint32_t | GetReferenceCount () const |
Get the reference count of the object. | |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
Assignment operator. | |
void | Ref () const |
Increment the reference count. | |
void | Unref () const |
Decrement the reference count. | |
Private Attributes | |
uint8_t | m_rreqId |
The RREQ ID. | |
uint8_t | m_rreqRetryCount |
The number of RREQ retries. | |
EventId | m_rreqRetryEventId |
The event id of the next RREQ retry callback. | |
The route request retry table entry.
It represents information stored about future route requests retries.
Definition at line 784 of file zigbee-nwk-tables.h.
ns3::zigbee::RreqRetryTableEntry::RreqRetryTableEntry | ( | uint8_t | rreqId, |
EventId | rreqRetryEvent, | ||
uint8_t | rreqRetryCount ) |
The constructor of the RREQ retry table entry.
rreqId | The RREQ ID |
rreqRetryEvent | The EventId of the next RREQ retry callback |
rreqRetryCount | The current number of RREQ retries for this RREQ ID |
Definition at line 31 of file zigbee-nwk-tables.cc.
References m_rreqId, m_rreqRetryCount, and m_rreqRetryEventId.
EventId ns3::zigbee::RreqRetryTableEntry::GetRreqEventId | ( | ) |
Get the RREQ id of the RREQ retry.
Definition at line 65 of file zigbee-nwk-tables.cc.
References m_rreqRetryEventId.
uint8_t ns3::zigbee::RreqRetryTableEntry::GetRreqId | ( | ) | const |
Get the RREQ Id from the entry.
Definition at line 41 of file zigbee-nwk-tables.cc.
References m_rreqId.
uint8_t ns3::zigbee::RreqRetryTableEntry::GetRreqRetryCount | ( | ) | const |
Get the RREQ retry count from the entry.
Definition at line 53 of file zigbee-nwk-tables.cc.
References m_rreqRetryCount.
void ns3::zigbee::RreqRetryTableEntry::Print | ( | Ptr< OutputStreamWrapper > | stream | ) | const |
Print the values of the RREQ retry table entry.
stream | The stream object used to print. |
Definition at line 71 of file zigbee-nwk-tables.cc.
References ns3::EventId::IsPending(), m_rreqId, m_rreqRetryCount, and m_rreqRetryEventId.
void ns3::zigbee::RreqRetryTableEntry::SetRreqEventId | ( | EventId | eventId | ) |
Set the event id of the RREQ retry.
eventId | The event id corresponding to the next RREQ retry callback |
Definition at line 59 of file zigbee-nwk-tables.cc.
References m_rreqRetryEventId.
void ns3::zigbee::RreqRetryTableEntry::SetRreqRetryCount | ( | uint8_t | rreqRetryCount | ) |
Set the RREQ retry count from the entry.
rreqRetryCount | The value of the RREQ retry count |
Definition at line 47 of file zigbee-nwk-tables.cc.
References m_rreqRetryCount.
|
private |
The RREQ ID.
Definition at line 839 of file zigbee-nwk-tables.h.
Referenced by RreqRetryTableEntry(), GetRreqId(), and Print().
|
private |
The number of RREQ retries.
Definition at line 841 of file zigbee-nwk-tables.h.
Referenced by RreqRetryTableEntry(), GetRreqRetryCount(), Print(), and SetRreqRetryCount().
|
private |
The event id of the next RREQ retry callback.
Definition at line 840 of file zigbee-nwk-tables.h.
Referenced by RreqRetryTableEntry(), GetRreqEventId(), Print(), and SetRreqEventId().