User Manual, Developers Guide and API Documentation

tcp::TahoeCongAvoid Class Reference

#include <TahoeCongAvoid.hpp>

Inheritance diagram for tcp::TahoeCongAvoid:

Inheritance graph
[legend]
Collaboration diagram for tcp::TahoeCongAvoid:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void clearDuplicateACKCounter ()
virtual bool duplicateACKThresholdReached (unsigned long int _ackNR)
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 CongestionAvoidanceStrategy interface.
virtual void setWindowSize (unsigned long int new_cwnd)
 TahoeCongAvoid (const wns::pyconfig::View &_pyco)
virtual ~TahoeCongAvoid ()

Private Member Functions

std::string printReason (segmentLoss reason)

Private Attributes

wns::container::Registry
< unsigned long int, int
countDuplicateACKs
 Registry for counting the number of duplicate acks of regarding the same acknowledgement number.
unsigned long int cwnd
 The size of the congestion window.
unsigned long int cwnd_cnt
 Counter to increase congestion window cwnd linear.
wns::logger::Logger logger
 Tahoe's logger.
int ndup
 The initial threshold of duplicate acks.
wns::pyconfig::View pyco
simTimeType timeout
 Value for retransmissions in seconds.


Detailed Description

Definition at line 41 of file TahoeCongAvoid.hpp.


Constructor & Destructor Documentation

TahoeCongAvoid::TahoeCongAvoid ( const wns::pyconfig::View _pyco  ) 

Definition at line 41 of file TahoeCongAvoid.cpp.

TahoeCongAvoid::~TahoeCongAvoid (  )  [virtual]

Definition at line 53 of file TahoeCongAvoid.cpp.


Member Function Documentation

void TahoeCongAvoid::clearDuplicateACKCounter (  )  [virtual]

Implements tcp::CongestionControlStrategy.

Definition at line 176 of file TahoeCongAvoid.cpp.

bool TahoeCongAvoid::duplicateACKThresholdReached ( unsigned long int  _ackNR  )  [virtual]

Implements tcp::CongestionControlStrategy.

Definition at line 166 of file TahoeCongAvoid.cpp.

simTimeType TahoeCongAvoid::getRetransmissionTimeout (  )  [virtual]

Implements tcp::CongestionControlStrategy.

Definition at line 115 of file TahoeCongAvoid.cpp.

unsigned long int TahoeCongAvoid::getWindowSize (  )  [virtual]

Implements tcp::CongestionControlStrategy.

Definition at line 109 of file TahoeCongAvoid.cpp.

void TahoeCongAvoid::onRTTSample (  )  [virtual]

Implements tcp::CongestionControlStrategy.

Definition at line 104 of file TahoeCongAvoid.cpp.

void TahoeCongAvoid::onSegmentAcknowledged (  )  [virtual]

Implements tcp::CongestionControlStrategy.

Definition at line 122 of file TahoeCongAvoid.cpp.

void TahoeCongAvoid::onSegmentLoss ( segmentLoss  _sl,
unsigned long int  _ackNR 
) [virtual]

Implements tcp::CongestionControlStrategy.

Definition at line 59 of file TahoeCongAvoid.cpp.

std::string TahoeCongAvoid::printReason ( segmentLoss  reason  )  [private]

Definition at line 147 of file TahoeCongAvoid.cpp.

void TahoeCongAvoid::setWindowSize ( unsigned long int  new_cwnd  )  [virtual]

Implements tcp::CongestionControlStrategy.

Definition at line 139 of file TahoeCongAvoid.cpp.


Member Data Documentation

Definition at line 114 of file TahoeCongAvoid.hpp.

unsigned long int tcp::TahoeCongAvoid::cwnd [private]

Definition at line 87 of file TahoeCongAvoid.hpp.

unsigned long int tcp::TahoeCongAvoid::cwnd_cnt [private]

Definition at line 93 of file TahoeCongAvoid.hpp.

Definition at line 98 of file TahoeCongAvoid.hpp.

Definition at line 108 of file TahoeCongAvoid.hpp.

Definition at line 82 of file TahoeCongAvoid.hpp.

Definition at line 103 of file TahoeCongAvoid.hpp.


The documentation for this class was generated from the following files:

Generated on Sat May 26 03:32:40 2012 for openWNS by  doxygen 1.5.5