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

Interface for PHY event listener. More...

#include <uan-phy.h>

+ Inheritance diagram for ns3::UanPhyListener:

Public Member Functions

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

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 146 of file uan-phy.h.

Constructor & Destructor Documentation

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

Default destructor.

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

Member Function Documentation

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

Called when UanPhy stops sensing channel is busy.

Implemented in ns3::UanMacCw.

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

Called when UanPhy begins sensing channel is busy.

Implemented in ns3::UanMacCw.

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

Called when UanPhy finishes receiving packet in error.

Implemented in ns3::UanMacCw.

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

Called when UanPhy finishes receiving packet without error.

Implemented in ns3::UanMacCw.

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

Called when UanPhy begins receiving packet.

Implemented in ns3::UanMacCw.

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

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: