Public Member Functions | |
Dcf (DcaTxop *txop) | |
Private Member Functions | |
virtual void | DoNotifyAccessGranted (void) |
virtual void | DoNotifyInternalCollision (void) |
virtual void | DoNotifyCollision (void) |
Private Attributes | |
DcaTxop * | m_txop |
Definition at line 45 of file dca-txop.cc.
ns3::DcaTxop::Dcf::Dcf | ( | DcaTxop * | txop | ) | [inline] |
Definition at line 48 of file dca-txop.cc.
virtual void ns3::DcaTxop::Dcf::DoNotifyAccessGranted | ( | void | ) | [inline, private, virtual] |
Called by DcfManager to notify a DcfState subclass that access to the medium is granted and can start immediately.
Implements ns3::DcfState.
Definition at line 52 of file dca-txop.cc.
References m_txop, and ns3::DcaTxop::NotifyAccessGranted().
virtual void ns3::DcaTxop::Dcf::DoNotifyCollision | ( | void | ) | [inline, private, virtual] |
Called by DcfManager to notify a DcfState subclass that a normal collision occured, that is, that the medium was busy when access was requested.
The subclass is expected to start a new backoff by calling DcfState::StartBackoffNow and DcfManager::RequestAccess is access is still needed.
Implements ns3::DcfState.
Definition at line 58 of file dca-txop.cc.
References m_txop, and ns3::DcaTxop::NotifyCollision().
virtual void ns3::DcaTxop::Dcf::DoNotifyInternalCollision | ( | void | ) | [inline, private, virtual] |
Called by DcfManager to notify a DcfState subclass that an 'internal' collision occured, that is, that the backoff timer of a higher priority DcfState expired at the same time and that access was granted to this higher priority DcfState.
The subclass is expected to start a new backoff by calling DcfState::StartBackoffNow and DcfManager::RequestAccess is access is still needed.
Implements ns3::DcfState.
Definition at line 55 of file dca-txop.cc.
References m_txop, and ns3::DcaTxop::NotifyInternalCollision().
DcaTxop* ns3::DcaTxop::Dcf::m_txop [private] |
Definition at line 62 of file dca-txop.cc.
Referenced by DoNotifyAccessGranted(), DoNotifyCollision(), and DoNotifyInternalCollision().