![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <lowerMAC/StopAndWaitARQ.hpp>


Definition at line 52 of file StopAndWaitARQ.hpp.
enum wifimac::lowerMAC::StopAndWaitARQ::AckState [private] |
Definition at line 128 of file StopAndWaitARQ.hpp.
| StopAndWaitARQ::StopAndWaitARQ | ( | wns::ldk::fun::FUN * | fuNet, | |
| const wns::pyconfig::View & | config | |||
| ) |
Definition at line 49 of file StopAndWaitARQ.cpp.
| void StopAndWaitARQ::copyTransmissionCounter | ( | const wns::ldk::CompoundPtr & | src, | |
| const wns::ldk::CompoundPtr & | dst | |||
| ) | [virtual] |
Implements wifimac::lowerMAC::ITransmissionCounter.
Definition at line 474 of file StopAndWaitARQ.cpp.
| wns::ldk::CompoundPtr StopAndWaitARQ::getData | ( | ) | [private, virtual] |
getData will only get called after a call to hasData. Every implementation of this interface /must/ return the same Compound for subsequent hasData/getData calls.
Reimplemented from wns::ldk::arq::StopAndWait.
Definition at line 101 of file StopAndWaitARQ.cpp.
| unsigned int StopAndWaitARQ::getTransmissionCounter | ( | const wns::ldk::CompoundPtr & | compound | ) | const [virtual] |
Implements wifimac::lowerMAC::ITransmissionCounter.
Definition at line 461 of file StopAndWaitARQ.cpp.
| bool StopAndWaitARQ::hasCapacity | ( | ) | const [private, virtual] |
While hasCapacity returns false, processIncoming will never be called.
Reimplemented from wns::ldk::arq::StopAndWait.
Definition at line 293 of file StopAndWaitARQ.cpp.
| void wifimac::lowerMAC::StopAndWaitARQ::onChannelBusy | ( | ) |
| void wifimac::lowerMAC::StopAndWaitARQ::onChannelIdle | ( | ) |
| void StopAndWaitARQ::onFUNCreated | ( | ) | [private, virtual] |
Often FunctionalUnits require the collaboration with other FunctionalUnits to accomplish their task. For the collaboration between FunctionalUnits we coined the term "friendship".
The onFUNCreated method is a hook being called after the complete FUN has been set up. FunctionalUnits requiring the collaboration with other FunctionalUnits should resolve these dependencies by implementing this hook accordingly.
Finding friends is usually done calling wns::ldk::fun::FUN::findFriend.
When building reconfigurable FUNs, this method may get called multiple times (e.g., after each FUN reconfiguration). Keep that in mind when allocating resources in your onFUNCreated implementation.
Reimplemented from wns::ldk::FunctionalUnit.
Definition at line 83 of file StopAndWaitARQ.cpp.
| void StopAndWaitARQ::onRxEnd | ( | ) | [virtual] |
| void StopAndWaitARQ::onRxError | ( | ) | [virtual] |
| void StopAndWaitARQ::onRxStart | ( | wns::simulator::Time | expRxTime | ) | [virtual] |
| void StopAndWaitARQ::onTimeout | ( | ) | [private, virtual] |
The deriver is forced to implement this method. It gets called, whenever the timer fires.
Reimplemented from wns::ldk::arq::StopAndWait.
Definition at line 317 of file StopAndWaitARQ.cpp.
| void StopAndWaitARQ::onTransmissionHasFailed | ( | const wns::ldk::CompoundPtr & | compound | ) | [virtual] |
Implements wifimac::lowerMAC::ITransmissionCounter.
Definition at line 299 of file StopAndWaitARQ.cpp.
| void StopAndWaitARQ::onTxEnd | ( | const wns::ldk::CompoundPtr & | compound | ) | [virtual] |
| void StopAndWaitARQ::onTxStart | ( | const wns::ldk::CompoundPtr & | compound | ) | [virtual] |
| void StopAndWaitARQ::processIncoming | ( | const wns::ldk::CompoundPtr & | compound | ) | [private, virtual] |
Override this method to handle incoming compounds.
Reimplemented from wns::ldk::arq::StopAndWait.
Definition at line 223 of file StopAndWaitARQ.cpp.
| void StopAndWaitARQ::processOutgoing | ( | const wns::ldk::CompoundPtr & | ) | [private, virtual] |
Override this method to handle outgoing compounds.
Reimplemented from wns::ldk::arq::StopAndWait.
Definition at line 201 of file StopAndWaitARQ.cpp.
| void StopAndWaitARQ::transmissionHasFailed | ( | const wns::ldk::CompoundPtr & | compound | ) | [private] |
Definition at line 359 of file StopAndWaitARQ.cpp.
Definition at line 124 of file StopAndWaitARQ.hpp.
enum wifimac::lowerMAC::StopAndWaitARQ::AckState wifimac::lowerMAC::StopAndWaitARQ::ackState [private] |
const wns::simulator::Time wifimac::lowerMAC::StopAndWaitARQ::ackTimeout [private] |
Definition at line 122 of file StopAndWaitARQ.hpp.
const bool wifimac::lowerMAC::StopAndWaitARQ::bianchiRetryCounter [private] |
Definition at line 126 of file StopAndWaitARQ.hpp.
struct wifimac::lowerMAC::StopAndWaitARQ::Friends wifimac::lowerMAC::StopAndWaitARQ::friends [private] |
Definition at line 118 of file StopAndWaitARQ.hpp.
const int wifimac::lowerMAC::StopAndWaitARQ::longRetryLimit [private] |
Definition at line 112 of file StopAndWaitARQ.hpp.
const std::string wifimac::lowerMAC::StopAndWaitARQ::managerName [private] |
Definition at line 108 of file StopAndWaitARQ.hpp.
Definition at line 121 of file StopAndWaitARQ.hpp.
wns::probe::bus::ContextCollectorPtr wifimac::lowerMAC::StopAndWaitARQ::numTxAttemptsProbe [private] |
Definition at line 143 of file StopAndWaitARQ.hpp.
Definition at line 141 of file StopAndWaitARQ.hpp.
const std::string wifimac::lowerMAC::StopAndWaitARQ::perMIBServiceName [private] |
Definition at line 109 of file StopAndWaitARQ.hpp.
const Bit wifimac::lowerMAC::StopAndWaitARQ::rtsctsThreshold [private] |
Definition at line 113 of file StopAndWaitARQ.hpp.
const std::string wifimac::lowerMAC::StopAndWaitARQ::rxsName [private] |
Definition at line 106 of file StopAndWaitARQ.hpp.
Definition at line 117 of file StopAndWaitARQ.hpp.
const int wifimac::lowerMAC::StopAndWaitARQ::shortRetryLimit [private] |
Definition at line 111 of file StopAndWaitARQ.hpp.
const wns::simulator::Time wifimac::lowerMAC::StopAndWaitARQ::sifsDuration [private] |
Definition at line 120 of file StopAndWaitARQ.hpp.
Definition at line 116 of file StopAndWaitARQ.hpp.
Definition at line 115 of file StopAndWaitARQ.hpp.
const std::string wifimac::lowerMAC::StopAndWaitARQ::txStartEndName [private] |
Definition at line 107 of file StopAndWaitARQ.hpp.
1.5.5