Options for SegmentFetcher. More...
#include <ndn-cxx/util/segment-fetcher.hpp>
Public Member Functions | |
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 a congestion mark is 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 |
Set to 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 | probeLatestVersion = true |
Use the first Interest to probe the latest version of the object. More... | |
bool | resetCwndToInit = false |
Reduce cwnd to initCwnd when a loss event occurs. More... | |
util::RttEstimator::Options | rttOptions |
Options for the RTT estimator. More... | |
bool | useConstantCwnd = false |
If true, window size is kept fixed at initCwnd. More... | |
bool | useConstantInterestTimeout = false |
If true, Interest timeout is kept fixed at maxTimeout. More... | |
Options for SegmentFetcher.
Definition at line 39 of file segment-fetcher.hpp.
void ndn::SegmentFetcher::Options::validate | ( | ) |
Definition at line 41 of file segment-fetcher.cpp.
double ndn::SegmentFetcherOptions::aiStep = 1.0 |
Additive increase step (in segments)
Definition at line 64 of file segment-fetcher.hpp.
bool ndn::SegmentFetcherOptions::disableCwa = false |
Disable Conservative Window Adaptation.
Definition at line 54 of file segment-fetcher.hpp.
size_t ndn::SegmentFetcherOptions::flowControlWindow = 25000 |
Maximum number of segments stored in the reorder buffer.
Definition at line 70 of file segment-fetcher.hpp.
bool ndn::SegmentFetcherOptions::ignoreCongMarks = false |
Disable window decrease after a congestion mark is received.
Definition at line 58 of file segment-fetcher.hpp.
double ndn::SegmentFetcherOptions::initCwnd = 1.0 |
Initial congestion window size.
Definition at line 60 of file segment-fetcher.hpp.
double ndn::SegmentFetcherOptions::initSsthresh = std::numeric_limits<double>::max() |
Initial slow start threshold.
Definition at line 62 of file segment-fetcher.hpp.
bool ndn::SegmentFetcherOptions::inOrder = false |
Set to true for 'in order' mode, false for 'block' mode.
Definition at line 48 of file segment-fetcher.hpp.
time::milliseconds ndn::SegmentFetcherOptions::interestLifetime = 4_s |
Lifetime of sent Interests (independent of Interest timeout)
Definition at line 42 of file segment-fetcher.hpp.
time::milliseconds ndn::SegmentFetcherOptions::maxTimeout = 60_s |
Maximum allowed time between successful receipt of segments.
Definition at line 44 of file segment-fetcher.hpp.
double ndn::SegmentFetcherOptions::mdCoef = 0.5 |
Multiplicative decrease coefficient.
Definition at line 66 of file segment-fetcher.hpp.
bool ndn::SegmentFetcherOptions::probeLatestVersion = true |
Use the first Interest to probe the latest version of the object.
Definition at line 46 of file segment-fetcher.hpp.
bool ndn::SegmentFetcherOptions::resetCwndToInit = false |
Reduce cwnd to initCwnd when a loss event occurs.
Definition at line 56 of file segment-fetcher.hpp.
util::RttEstimator::Options ndn::SegmentFetcherOptions::rttOptions |
Options for the RTT estimator.
Definition at line 68 of file segment-fetcher.hpp.
bool ndn::SegmentFetcherOptions::useConstantCwnd = false |
If true, window size is kept fixed at initCwnd.
Definition at line 52 of file segment-fetcher.hpp.
bool ndn::SegmentFetcherOptions::useConstantInterestTimeout = false |
If true, Interest timeout is kept fixed at maxTimeout.
Definition at line 50 of file segment-fetcher.hpp.