A Discrete-Event Network Simulator
API
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 NotifyTxEnd (void)=0
 Function called when Phy object finishes transmitting 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

◆ ~UanPhyListener()

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

Default destructor.

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

Member Function Documentation

◆ NotifyCcaEnd()

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

Called when UanPhy stops sensing channel is busy.

Implemented in ns3::UanMacCw.

◆ NotifyCcaStart()

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

Called when UanPhy begins sensing channel is busy.

Implemented in ns3::UanMacCw.

◆ NotifyRxEndError()

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

Called when UanPhy finishes receiving packet in error.

Implemented in ns3::UanMacCw.

◆ NotifyRxEndOk()

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

Called when UanPhy finishes receiving packet without error.

Implemented in ns3::UanMacCw.

◆ NotifyRxStart()

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

Called when UanPhy begins receiving packet.

Implemented in ns3::UanMacCw.

◆ NotifyTxEnd()

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

Function called when Phy object finishes transmitting packet.

Implemented in ns3::UanMacCw.

◆ NotifyTxStart()

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: