listen to events coming from ns3::MacLow. More...
#include <mac-low.h>
Public Member Functions | |
MacLowTransmissionListener () | |
virtual | ~MacLowTransmissionListener () |
virtual void | GotCts (double snr, WifiMode txMode)=0 |
virtual void | MissedCts (void)=0 |
virtual void | GotAck (double snr, WifiMode txMode)=0 |
virtual void | MissedAck (void)=0 |
virtual void | StartNext (void)=0 |
virtual void | Cancel (void)=0 |
listen to events coming from ns3::MacLow.
Definition at line 45 of file mac-low.h.
ns3::MacLowTransmissionListener::MacLowTransmissionListener | ( | ) |
Definition at line 109 of file mac-low.cc.
ns3::MacLowTransmissionListener::~MacLowTransmissionListener | ( | ) | [virtual] |
Definition at line 111 of file mac-low.cc.
virtual void ns3::MacLowTransmissionListener::Cancel | ( | void | ) | [pure virtual] |
Invoked if this transmission was canceled one way or another. When this method is invoked, you can assume that the packet has not been passed down the stack to the PHY.
Implemented in ns3::DcaTxop::TransmissionListener.
Referenced by ns3::MacLow::CancelAllEvents().
virtual void ns3::MacLowTransmissionListener::GotAck | ( | double | snr, | |
WifiMode | txMode | |||
) | [pure virtual] |
snr | the snr of the ack | |
txMode | the transmission mode of the ack |
ns3::MacLow received an expected ACL within AckTimeout. The snr and txMode arguments are not valid when SUPER_FAST_ACK is used.
Implemented in ns3::DcaTxop::TransmissionListener.
Referenced by ns3::MacLow::ReceiveOk(), and ns3::MacLow::SuperFastAckTimeout().
virtual void ns3::MacLowTransmissionListener::GotCts | ( | double | snr, | |
WifiMode | txMode | |||
) | [pure virtual] |
snr | the snr of the cts | |
txMode | the txMode of the cts |
ns3::MacLow received an expected CTS within CtsTimeout.
Implemented in ns3::DcaTxop::TransmissionListener.
Referenced by ns3::MacLow::ReceiveOk().
virtual void ns3::MacLowTransmissionListener::MissedAck | ( | void | ) | [pure virtual] |
ns3::MacLow did not receive an expected ACK within AckTimeout.
Implemented in ns3::DcaTxop::TransmissionListener.
Referenced by ns3::MacLow::FastAckFailedTimeout(), ns3::MacLow::FastAckTimeout(), ns3::MacLow::NormalAckTimeout(), and ns3::MacLow::SuperFastAckTimeout().
virtual void ns3::MacLowTransmissionListener::MissedCts | ( | void | ) | [pure virtual] |
ns3::MacLow did not receive an expected CTS within CtsTimeout.
Implemented in ns3::DcaTxop::TransmissionListener.
Referenced by ns3::MacLow::CtsTimeout().
virtual void ns3::MacLowTransmissionListener::StartNext | ( | void | ) | [pure virtual] |
Invoked when ns3::MacLow wants to start a new transmission as configured by MacLowTransmissionParameters::EnableNextData. The listener is expected to call again MacLow::StartTransmission with the "next" data to send.
Implemented in ns3::DcaTxop::TransmissionListener.
Referenced by ns3::MacLow::WaitSifsAfterEndTx().