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


Public Member Functions | |
| virtual void | clearDuplicateACKCounter () |
| CongestionControl (const wns::pyconfig::View &_pyco) | |
| virtual bool | duplicateACKThresholdReached (unsigned long int _ackNR) |
| CongestionControlStrategy * | getCongestionControlMode () |
| virtual simTimeType | getRetransmissionTimeout () |
| virtual unsigned long int | getWindowSize () |
| virtual void | onRTTSample () |
| virtual void | onSegmentAcknowledged () |
| virtual void | onSegmentLoss (segmentLoss _sl, unsigned long int _ackNR) |
| Implementation of the CongestionControlStrategy interface. | |
| virtual | ~CongestionControl () |
Private Member Functions | |
| unsigned long int | getSlowStartThreshold () |
| Returns the SlowStart threshold value. | |
| std::string | printMode (Mode _mode) |
| void | setCongestionControlMode (Mode _mode) |
| Changing between SlowStart mode and CongestionAvoidance mode. | |
| virtual void | setWindowSize (unsigned long int new_cwnd) |
Private Attributes | |
| CongestionAvoidanceStrategy * | ca |
| Currently active CongestionAvoidance algorithm. | |
| wns::logger::Logger | logger |
| CongestionControl's logger. | |
| Mode | mode |
| The current mode of congestion control. | |
| wns::pyconfig::View | pyco |
| SlowStartStrategy * | slowStart |
| The SlowStart instance. | |
Friends | |
| class | tests::CongestionControlTest |
| class | tests::CumulativeACKTest |
Definition at line 46 of file CongestionControl.hpp.
| CongestionControl::CongestionControl | ( | const wns::pyconfig::View & | _pyco | ) | [explicit] |
Definition at line 35 of file CongestionControl.cpp.
| CongestionControl::~CongestionControl | ( | ) | [virtual] |
Definition at line 46 of file CongestionControl.cpp.
| void CongestionControl::clearDuplicateACKCounter | ( | ) | [virtual] |
| CongestionControlStrategy * CongestionControl::getCongestionControlMode | ( | ) |
Definition at line 142 of file CongestionControl.cpp.
| simTimeType CongestionControl::getRetransmissionTimeout | ( | ) | [virtual] |
| unsigned long int CongestionControl::getSlowStartThreshold | ( | ) | [private] |
Definition at line 182 of file CongestionControl.cpp.
| unsigned long int CongestionControl::getWindowSize | ( | ) | [virtual] |
| void CongestionControl::onRTTSample | ( | ) | [virtual] |
| void CongestionControl::onSegmentAcknowledged | ( | ) | [virtual] |
| void CongestionControl::onSegmentLoss | ( | segmentLoss | _sl, | |
| unsigned long int | _ackNR | |||
| ) | [virtual] |
| std::string CongestionControl::printMode | ( | Mode | _mode | ) | [private] |
Definition at line 204 of file CongestionControl.cpp.
| void CongestionControl::setCongestionControlMode | ( | Mode | _mode | ) | [private] |
Definition at line 160 of file CongestionControl.cpp.
| void CongestionControl::setWindowSize | ( | unsigned long int | new_cwnd | ) | [private, virtual] |
friend class tests::CongestionControlTest [friend] |
Reimplemented from tcp::CongestionControlStrategy.
Definition at line 49 of file CongestionControl.hpp.
friend class tests::CumulativeACKTest [friend] |
Reimplemented from tcp::CongestionControlStrategy.
Definition at line 50 of file CongestionControl.hpp.
Definition at line 106 of file CongestionControl.hpp.
Definition at line 111 of file CongestionControl.hpp.
Mode tcp::CongestionControl::mode [private] |
Definition at line 96 of file CongestionControl.hpp.
Definition at line 91 of file CongestionControl.hpp.
Definition at line 101 of file CongestionControl.hpp.
1.5.5