A broadcast Transaction Record (BTR) As described in Table 3-70. More...
#include "zigbee-nwk-tables.h"
Public Member Functions | |
BroadcastTransactionRecord () | |
BroadcastTransactionRecord (Mac16Address srcAddr, uint8_t seq, Time exp) | |
Construct a new Broadcast Transaction Record (BTR) entry. | |
~BroadcastTransactionRecord () | |
uint8_t | GetBcstRetryCount () const |
Get the broadcast retry count value. | |
Time | GetExpirationTime () const |
Get the value of the expiration time in the BTR. | |
uint8_t | GetSeqNum () const |
Get the sequence number of the BTR. | |
Mac16Address | GetSrcAddr () const |
Get the source address of the BTR. | |
void | Print (Ptr< OutputStreamWrapper > stream) const |
Print the values of the BTR. | |
void | SetBcstRetryCount (uint8_t count) |
Set the Broadcast retry count object. | |
void | SetExpirationTime (Time exp) |
Set the expiration time object. | |
void | SetSeqNum (uint8_t seq) |
Set the sequence number of the BTR. | |
void | SetSrcAddr (Mac16Address srcAddr) |
Set the source address of the BTR. | |
![]() | |
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_broadcastRetryCount |
The number of times this BCST has been retried. | |
Time | m_expirationTime |
An indicator of when the entry expires. | |
uint8_t | m_sequenceNumber |
The RREQ sequence number of the initiator's broadcast. | |
Mac16Address | m_srcAddr |
The 16-bit network address of the broadcast initiator. | |
A broadcast Transaction Record (BTR) As described in Table 3-70.
Definition at line 848 of file zigbee-nwk-tables.h.
ns3::zigbee::BroadcastTransactionRecord::BroadcastTransactionRecord | ( | ) |
Definition at line 1367 of file zigbee-nwk-tables.cc.
ns3::zigbee::BroadcastTransactionRecord::~BroadcastTransactionRecord | ( | ) |
Definition at line 1371 of file zigbee-nwk-tables.cc.
ns3::zigbee::BroadcastTransactionRecord::BroadcastTransactionRecord | ( | Mac16Address | srcAddr, |
uint8_t | seq, | ||
Time | exp ) |
Construct a new Broadcast Transaction Record (BTR) entry.
srcAddr | The source address of the BTR. |
seq | The sequence number of the BTR. |
exp | The expiration time of the BTR. |
Definition at line 1359 of file zigbee-nwk-tables.cc.
References m_broadcastRetryCount, m_expirationTime, m_sequenceNumber, and m_srcAddr.
uint8_t ns3::zigbee::BroadcastTransactionRecord::GetBcstRetryCount | ( | ) | const |
Get the broadcast retry count value.
Definition at line 1412 of file zigbee-nwk-tables.cc.
References m_broadcastRetryCount.
Time ns3::zigbee::BroadcastTransactionRecord::GetExpirationTime | ( | ) | const |
Get the value of the expiration time in the BTR.
Definition at line 1400 of file zigbee-nwk-tables.cc.
References m_expirationTime.
uint8_t ns3::zigbee::BroadcastTransactionRecord::GetSeqNum | ( | ) | const |
Get the sequence number of the BTR.
Definition at line 1388 of file zigbee-nwk-tables.cc.
References m_sequenceNumber.
Mac16Address ns3::zigbee::BroadcastTransactionRecord::GetSrcAddr | ( | ) | const |
Get the source address of the BTR.
Definition at line 1376 of file zigbee-nwk-tables.cc.
References m_srcAddr.
void ns3::zigbee::BroadcastTransactionRecord::Print | ( | Ptr< OutputStreamWrapper > | stream | ) | const |
Print the values of the BTR.
stream | The stream object used to print. |
Definition at line 1424 of file zigbee-nwk-tables.cc.
References m_broadcastRetryCount, m_expirationTime, m_sequenceNumber, m_srcAddr, ns3::Simulator::Now(), and ns3::Time::S.
void ns3::zigbee::BroadcastTransactionRecord::SetBcstRetryCount | ( | uint8_t | count | ) |
Set the Broadcast retry count object.
count | The value of the counter |
Definition at line 1418 of file zigbee-nwk-tables.cc.
References m_broadcastRetryCount.
void ns3::zigbee::BroadcastTransactionRecord::SetExpirationTime | ( | Time | exp | ) |
Set the expiration time object.
exp | The expiration time of the BTR |
Definition at line 1406 of file zigbee-nwk-tables.cc.
References m_expirationTime.
void ns3::zigbee::BroadcastTransactionRecord::SetSeqNum | ( | uint8_t | seq | ) |
Set the sequence number of the BTR.
seq | The sequence number of the BTR |
Definition at line 1394 of file zigbee-nwk-tables.cc.
References m_sequenceNumber.
void ns3::zigbee::BroadcastTransactionRecord::SetSrcAddr | ( | Mac16Address | srcAddr | ) |
Set the source address of the BTR.
srcAddr | The source address of the BTR |
Definition at line 1382 of file zigbee-nwk-tables.cc.
References m_srcAddr.
|
private |
The number of times this BCST has been retried.
Definition at line 930 of file zigbee-nwk-tables.h.
Referenced by BroadcastTransactionRecord(), GetBcstRetryCount(), Print(), and SetBcstRetryCount().
|
private |
An indicator of when the entry expires.
Definition at line 929 of file zigbee-nwk-tables.h.
Referenced by BroadcastTransactionRecord(), GetExpirationTime(), Print(), and SetExpirationTime().
|
private |
The RREQ sequence number of the initiator's broadcast.
Definition at line 928 of file zigbee-nwk-tables.h.
Referenced by BroadcastTransactionRecord(), GetSeqNum(), Print(), and SetSeqNum().
|
private |
The 16-bit network address of the broadcast initiator.
Definition at line 927 of file zigbee-nwk-tables.h.
Referenced by BroadcastTransactionRecord(), GetSrcAddr(), Print(), and SetSrcAddr().