ndn::util::SegmentFetcher::Options Class Reference

#include <ndn-cxx/util/segment-fetcher.hpp>

+ Collaboration diagram for ndn::util::SegmentFetcher::Options:

Public Member Functions

 Options ()
 
void validate ()
 

Public Attributes

double aiStep = 1.0
 additive increase step (in segments) More...
 
bool disableCwa = false
 disable Conservative Window Adaptation More...
 
size_t flowControlWindow = 25000
 maximum number of segments stored in the reorder buffer More...
 
bool ignoreCongMarks = false
 disable window decrease after congestion mark received More...
 
double initCwnd = 1.0
 initial congestion window size More...
 
double initSsthresh = std::numeric_limits<double>::max()
 initial slow start threshold More...
 
bool inOrder = false
 true for 'in order' mode, false for 'block' mode More...
 
time::milliseconds interestLifetime = 4_s
 lifetime of sent Interests - independent of Interest timeout More...
 
time::milliseconds maxTimeout = 60_s
 maximum allowed time between successful receipt of segments More...
 
double mdCoef = 0.5
 multiplicative decrease coefficient More...
 
bool resetCwndToInit = false
 reduce cwnd to initCwnd when loss event occurs More...
 
RttEstimator::Options rttOptions
 options for RTT estimator More...
 
bool useConstantCwnd = false
 if true, window size is kept at initCwnd More...
 
bool useConstantInterestTimeout = false
 if true, Interest timeout is kept at maxTimeout More...
 

Detailed Description

Definition at line 99 of file segment-fetcher.hpp.

Constructor & Destructor Documentation

◆ Options()

ndn::util::SegmentFetcher::Options::Options ( )
inline

Definition at line 102 of file segment-fetcher.hpp.

Member Function Documentation

◆ validate()

void ndn::util::SegmentFetcher::Options::validate ( )

Definition at line 42 of file segment-fetcher.cpp.

Member Data Documentation

◆ aiStep

double ndn::util::SegmentFetcher::Options::aiStep = 1.0

additive increase step (in segments)

Definition at line 120 of file segment-fetcher.hpp.

◆ disableCwa

bool ndn::util::SegmentFetcher::Options::disableCwa = false

disable Conservative Window Adaptation

Definition at line 115 of file segment-fetcher.hpp.

◆ flowControlWindow

size_t ndn::util::SegmentFetcher::Options::flowControlWindow = 25000

maximum number of segments stored in the reorder buffer

Definition at line 123 of file segment-fetcher.hpp.

◆ ignoreCongMarks

bool ndn::util::SegmentFetcher::Options::ignoreCongMarks = false

disable window decrease after congestion mark received

Definition at line 117 of file segment-fetcher.hpp.

◆ initCwnd

double ndn::util::SegmentFetcher::Options::initCwnd = 1.0

initial congestion window size

Definition at line 118 of file segment-fetcher.hpp.

◆ initSsthresh

double ndn::util::SegmentFetcher::Options::initSsthresh = std::numeric_limits<double>::max()

initial slow start threshold

Definition at line 119 of file segment-fetcher.hpp.

◆ inOrder

bool ndn::util::SegmentFetcher::Options::inOrder = false

true for 'in order' mode, false for 'block' mode

Definition at line 112 of file segment-fetcher.hpp.

◆ interestLifetime

time::milliseconds ndn::util::SegmentFetcher::Options::interestLifetime = 4_s

lifetime of sent Interests - independent of Interest timeout

Definition at line 110 of file segment-fetcher.hpp.

◆ maxTimeout

time::milliseconds ndn::util::SegmentFetcher::Options::maxTimeout = 60_s

maximum allowed time between successful receipt of segments

Definition at line 111 of file segment-fetcher.hpp.

◆ mdCoef

double ndn::util::SegmentFetcher::Options::mdCoef = 0.5

multiplicative decrease coefficient

Definition at line 121 of file segment-fetcher.hpp.

◆ resetCwndToInit

bool ndn::util::SegmentFetcher::Options::resetCwndToInit = false

reduce cwnd to initCwnd when loss event occurs

Definition at line 116 of file segment-fetcher.hpp.

◆ rttOptions

RttEstimator::Options ndn::util::SegmentFetcher::Options::rttOptions

options for RTT estimator

Definition at line 122 of file segment-fetcher.hpp.

◆ useConstantCwnd

bool ndn::util::SegmentFetcher::Options::useConstantCwnd = false

if true, window size is kept at initCwnd

Definition at line 114 of file segment-fetcher.hpp.

◆ useConstantInterestTimeout

bool ndn::util::SegmentFetcher::Options::useConstantInterestTimeout = false

if true, Interest timeout is kept at maxTimeout

Definition at line 113 of file segment-fetcher.hpp.