psync::FullProducer::Options Struct Reference

Constructor options. More...

#include <PSync/full-producer.hpp>

Public Attributes

CompressionScheme contentCompression = CompressionScheme::DEFAULT
 Compression scheme to use for Data content. More...
 
CompressionScheme ibfCompression = CompressionScheme::DEFAULT
 Compression scheme to use for IBF. More...
 
uint32_t ibfCount = 80
 Expected number of entries in IBF. More...
 
UpdateCallback onUpdate = [] (const auto&) {}
 Callback to be invoked when there is new data. More...
 
ndn::time::milliseconds syncDataFreshness = SYNC_REPLY_FRESHNESS
 FreshnessPeriod of sync Data. More...
 
ndn::time::milliseconds syncInterestLifetime = SYNC_INTEREST_LIFETIME
 Lifetime of sync Interest. More...
 

Detailed Description

Constructor options.

Definition at line 47 of file full-producer.hpp.

Member Data Documentation

◆ contentCompression

CompressionScheme psync::FullProducer::Options::contentCompression = CompressionScheme::DEFAULT

Compression scheme to use for Data content.

Definition at line 60 of file full-producer.hpp.

◆ ibfCompression

CompressionScheme psync::FullProducer::Options::ibfCompression = CompressionScheme::DEFAULT

Compression scheme to use for IBF.

Definition at line 54 of file full-producer.hpp.

◆ ibfCount

uint32_t psync::FullProducer::Options::ibfCount = 80

Expected number of entries in IBF.

Definition at line 52 of file full-producer.hpp.

◆ onUpdate

UpdateCallback psync::FullProducer::Options::onUpdate = [] (const auto&) {}

Callback to be invoked when there is new data.

Definition at line 50 of file full-producer.hpp.

◆ syncDataFreshness

ndn::time::milliseconds psync::FullProducer::Options::syncDataFreshness = SYNC_REPLY_FRESHNESS

FreshnessPeriod of sync Data.

Definition at line 58 of file full-producer.hpp.

◆ syncInterestLifetime

ndn::time::milliseconds psync::FullProducer::Options::syncInterestLifetime = SYNC_INTEREST_LIFETIME

Lifetime of sync Interest.

Definition at line 56 of file full-producer.hpp.