A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::UanPhyListener Class Reference

Interface for PHY event listener A class which implements this interface may register with Phy object to receive notification of TX/RX/CCA events. More...

#include <uan-phy.h>

+ Inheritance diagram for ns3::UanPhyListener:

Public Member Functions

virtual ~UanPhyListener ()
virtual void NotifyCcaEnd (void)=0
 Function called when Phy object stops sensing channel is busy.
virtual void NotifyCcaStart (void)=0
 Function called when Phy object begins sensing channel is busy.
virtual void NotifyRxEndError (void)=0
 Function called when Phy object finishes receiving packet in error.
virtual void NotifyRxEndOk (void)=0
 Function called when Phy object finishes receiving packet without error.
virtual void NotifyRxStart (void)=0
 Function called when Phy object begins receiving packet.
virtual void NotifyTxStart (Time duration)=0
 Function called when transmission starts from Phy object.

Detailed Description

Interface for PHY event listener A class which implements this interface may register with Phy object to receive notification of TX/RX/CCA events.

Definition at line 128 of file uan-phy.h.

Constructor & Destructor Documentation

virtual ns3::UanPhyListener::~UanPhyListener ( )
inlinevirtual

Definition at line 131 of file uan-phy.h.

Member Function Documentation

virtual void ns3::UanPhyListener::NotifyCcaEnd ( void  )
pure virtual

Function called when Phy object stops sensing channel is busy.

Implemented in ns3::UanMacCw.

virtual void ns3::UanPhyListener::NotifyCcaStart ( void  )
pure virtual

Function called when Phy object begins sensing channel is busy.

Implemented in ns3::UanMacCw.

virtual void ns3::UanPhyListener::NotifyRxEndError ( void  )
pure virtual

Function called when Phy object finishes receiving packet in error.

Implemented in ns3::UanMacCw.

virtual void ns3::UanPhyListener::NotifyRxEndOk ( void  )
pure virtual

Function called when Phy object finishes receiving packet without error.

Implemented in ns3::UanMacCw.

virtual void ns3::UanPhyListener::NotifyRxStart ( void  )
pure virtual

Function called when Phy object begins receiving packet.

Implemented in ns3::UanMacCw.

virtual void ns3::UanPhyListener::NotifyTxStart ( Time  duration)
pure virtual

Function called when transmission starts from Phy object.

Parameters
durationDuration of transmission

Implemented in ns3::UanMacCw.


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