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

Public Types | |
| enum | segmentLoss { TIMEOUT, DUPLICATE_ACK } |
| Reasons for a segement loss. More... | |
Public Member Functions | |
| virtual void | clearDuplicateACKCounter ()=0 |
| virtual bool | duplicateACKThresholdReached (unsigned long int _ackNR)=0 |
| virtual simTimeType | getRetransmissionTimeout ()=0 |
| virtual unsigned long int | getWindowSize ()=0 |
| virtual void | onRTTSample ()=0 |
| virtual void | onSegmentAcknowledged ()=0 |
| virtual void | onSegmentLoss (segmentLoss _sl, unsigned long int _ackNR)=0 |
| virtual | ~CongestionControlStrategy () |
Protected Types | |
| enum | Mode { SLOWSTART, CONGESTION_AVOIDANCE } |
| CongestionControl is either in SlowStart mode or CongestionAvoidance mode. More... | |
Protected Member Functions | |
| virtual void | setWindowSize (unsigned long int new_cwnd)=0 |
Friends | |
| class | CongestionControl |
| class | tests::CongestionControlTest |
| class | tests::CumulativeACKTest |
Definition at line 42 of file CongestionControlStrategy.hpp.
enum tcp::CongestionControlStrategy::Mode [protected] |
Definition at line 86 of file CongestionControlStrategy.hpp.
| virtual tcp::CongestionControlStrategy::~CongestionControlStrategy | ( | ) | [inline, virtual] |
Definition at line 55 of file CongestionControlStrategy.hpp.
| virtual void tcp::CongestionControlStrategy::clearDuplicateACKCounter | ( | ) | [pure virtual] |
Implemented in tcp::CongestionControl, tcp::SlowStart, and tcp::TahoeCongAvoid.
| virtual bool tcp::CongestionControlStrategy::duplicateACKThresholdReached | ( | unsigned long int | _ackNR | ) | [pure virtual] |
Implemented in tcp::CongestionControl, tcp::SlowStart, and tcp::TahoeCongAvoid.
| virtual simTimeType tcp::CongestionControlStrategy::getRetransmissionTimeout | ( | ) | [pure virtual] |
Implemented in tcp::CongestionControl, tcp::SlowStart, and tcp::TahoeCongAvoid.
| virtual unsigned long int tcp::CongestionControlStrategy::getWindowSize | ( | ) | [pure virtual] |
Implemented in tcp::CongestionControl, tcp::SlowStart, and tcp::TahoeCongAvoid.
| virtual void tcp::CongestionControlStrategy::onRTTSample | ( | ) | [pure virtual] |
Implemented in tcp::CongestionControl, tcp::SlowStart, and tcp::TahoeCongAvoid.
| virtual void tcp::CongestionControlStrategy::onSegmentAcknowledged | ( | ) | [pure virtual] |
Implemented in tcp::CongestionControl, tcp::SlowStart, and tcp::TahoeCongAvoid.
| virtual void tcp::CongestionControlStrategy::onSegmentLoss | ( | segmentLoss | _sl, | |
| unsigned long int | _ackNR | |||
| ) | [pure virtual] |
Implemented in tcp::CongestionControl, tcp::SlowStart, and tcp::TahoeCongAvoid.
| virtual void tcp::CongestionControlStrategy::setWindowSize | ( | unsigned long int | new_cwnd | ) | [protected, pure virtual] |
Implemented in tcp::CongestionControl, tcp::SlowStart, and tcp::TahoeCongAvoid.
friend class CongestionControl [friend] |
Definition at line 44 of file CongestionControlStrategy.hpp.
friend class tests::CongestionControlTest [friend] |
Reimplemented in tcp::CongestionControl.
Definition at line 45 of file CongestionControlStrategy.hpp.
friend class tests::CumulativeACKTest [friend] |
Reimplemented in tcp::CongestionControl.
Definition at line 46 of file CongestionControlStrategy.hpp.
1.5.5