ndn::SegmentFetcherOptions Struct Reference

Options for SegmentFetcher. More...

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

+ Collaboration diagram for ndn::SegmentFetcherOptions:

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...
 

Detailed Description

Options for SegmentFetcher.

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

Member Function Documentation

◆ validate()

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

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

Member Data Documentation

◆ aiStep

double ndn::SegmentFetcherOptions::aiStep = 1.0

Additive increase step (in segments)

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

◆ disableCwa

bool ndn::SegmentFetcherOptions::disableCwa = false

Disable Conservative Window Adaptation.

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

◆ flowControlWindow

size_t ndn::SegmentFetcherOptions::flowControlWindow = 25000

Maximum number of segments stored in the reorder buffer.

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

◆ ignoreCongMarks

bool ndn::SegmentFetcherOptions::ignoreCongMarks = false

Disable window decrease after a congestion mark is received.

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

◆ initCwnd

double ndn::SegmentFetcherOptions::initCwnd = 1.0

Initial congestion window size.

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

◆ initSsthresh

double ndn::SegmentFetcherOptions::initSsthresh = std::numeric_limits<double>::max()

Initial slow start threshold.

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

◆ inOrder

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.

◆ interestLifetime

time::milliseconds ndn::SegmentFetcherOptions::interestLifetime = 4_s

Lifetime of sent Interests (independent of Interest timeout)

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

◆ maxTimeout

time::milliseconds ndn::SegmentFetcherOptions::maxTimeout = 60_s

Maximum allowed time between successful receipt of segments.

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

◆ mdCoef

double ndn::SegmentFetcherOptions::mdCoef = 0.5

Multiplicative decrease coefficient.

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

◆ probeLatestVersion

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.

◆ resetCwndToInit

bool ndn::SegmentFetcherOptions::resetCwndToInit = false

Reduce cwnd to initCwnd when a loss event occurs.

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

◆ rttOptions

util::RttEstimator::Options ndn::SegmentFetcherOptions::rttOptions

Options for the RTT estimator.

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

◆ useConstantCwnd

bool ndn::SegmentFetcherOptions::useConstantCwnd = false

If true, window size is kept fixed at initCwnd.

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

◆ useConstantInterestTimeout

bool ndn::SegmentFetcherOptions::useConstantInterestTimeout = false

If true, Interest timeout is kept fixed at maxTimeout.

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