A Discrete-Event Network Simulator
API
ns3::LowDcfListener Class Reference

Listener for NAV events. More...

+ Inheritance diagram for ns3::LowDcfListener:
+ Collaboration diagram for ns3::LowDcfListener:

Public Member Functions

 LowDcfListener (ns3::DcfManager *dcf)
 Create a LowDcfListener for the given DcfManager. More...
 
virtual ~LowDcfListener ()
 
virtual void AckTimeoutReset ()
 Notify that ACK timeout has resetted. More...
 
virtual void AckTimeoutStart (Time duration)
 Notify that ACK timeout has started for a given duration. More...
 
virtual void CtsTimeoutReset ()
 Notify that CTS timeout has resetted. More...
 
virtual void CtsTimeoutStart (Time duration)
 Notify that CTS timeout has started for a given duration. More...
 
virtual void NavReset (Time duration)
 Notify that NAV has resetted. More...
 
virtual void NavStart (Time duration)
 Norify that NAV has started for the given duration. More...
 
- Public Member Functions inherited from ns3::MacLowDcfListener
 MacLowDcfListener ()
 
virtual ~MacLowDcfListener ()
 

Private Attributes

ns3::DcfManagerm_dcf
 DcfManager to forward events to. More...
 

Detailed Description

Listener for NAV events.

Forwards to DcfManager

Definition at line 221 of file dcf-manager.cc.

Constructor & Destructor Documentation

ns3::LowDcfListener::LowDcfListener ( ns3::DcfManager dcf)
inline

Create a LowDcfListener for the given DcfManager.

Parameters
dcf

Definition at line 229 of file dcf-manager.cc.

virtual ns3::LowDcfListener::~LowDcfListener ( )
inlinevirtual

Definition at line 233 of file dcf-manager.cc.

Member Function Documentation

virtual void ns3::LowDcfListener::AckTimeoutReset ( )
inlinevirtual

Notify that ACK timeout has resetted.

Implements ns3::MacLowDcfListener.

Definition at line 248 of file dcf-manager.cc.

References m_dcf, and ns3::DcfManager::NotifyAckTimeoutResetNow().

+ Here is the call graph for this function:

virtual void ns3::LowDcfListener::AckTimeoutStart ( Time  duration)
inlinevirtual

Notify that ACK timeout has started for a given duration.

Parameters
durationduration of ACK timeout

Implements ns3::MacLowDcfListener.

Definition at line 244 of file dcf-manager.cc.

References m_dcf, and ns3::DcfManager::NotifyAckTimeoutStartNow().

+ Here is the call graph for this function:

virtual void ns3::LowDcfListener::CtsTimeoutReset ( )
inlinevirtual

Notify that CTS timeout has resetted.

Implements ns3::MacLowDcfListener.

Definition at line 256 of file dcf-manager.cc.

References m_dcf, and ns3::DcfManager::NotifyCtsTimeoutResetNow().

+ Here is the call graph for this function:

virtual void ns3::LowDcfListener::CtsTimeoutStart ( Time  duration)
inlinevirtual

Notify that CTS timeout has started for a given duration.

Parameters
durationduration of CTS timeout

Implements ns3::MacLowDcfListener.

Definition at line 252 of file dcf-manager.cc.

References m_dcf, and ns3::DcfManager::NotifyCtsTimeoutStartNow().

+ Here is the call graph for this function:

virtual void ns3::LowDcfListener::NavReset ( Time  duration)
inlinevirtual

Notify that NAV has resetted.

Parameters
durationduration of NAV timer

Implements ns3::MacLowDcfListener.

Definition at line 240 of file dcf-manager.cc.

References m_dcf, and ns3::DcfManager::NotifyNavResetNow().

+ Here is the call graph for this function:

virtual void ns3::LowDcfListener::NavStart ( Time  duration)
inlinevirtual

Norify that NAV has started for the given duration.

Parameters
durationduration of NAV timer

Implements ns3::MacLowDcfListener.

Definition at line 236 of file dcf-manager.cc.

References m_dcf, and ns3::DcfManager::NotifyNavStartNow().

+ Here is the call graph for this function:

Member Data Documentation

ns3::DcfManager* ns3::LowDcfListener::m_dcf
private

DcfManager to forward events to.

Definition at line 262 of file dcf-manager.cc.

Referenced by AckTimeoutReset(), AckTimeoutStart(), CtsTimeoutReset(), CtsTimeoutStart(), NavReset(), and NavStart().


The documentation for this class was generated from the following file: