Namespaces | |
detail | |
tlv | |
Classes | |
class | CompressionError |
class | Consumer |
Consumer logic to subscribe to producer's data. More... | |
class | FullProducer |
Full sync logic to synchronize with other nodes where all nodes wants to get all names prefixes synced. More... | |
struct | MissingDataInfo |
class | PartialProducer |
Partial sync logic to publish data names. More... | |
class | ProducerBase |
Base class for PartialProducer and FullProducer. More... | |
class | SegmentPublisher |
Segment Publisher to publish segmented data. More... | |
Typedefs | |
using | ReceiveHelloCallback = std::function< void(const std::map< ndn::Name, uint64_t > &)> |
using | UpdateCallback = std::function< void(const std::vector< MissingDataInfo > &)> |
Functions | |
NDN_LOG_INIT (psync.Consumer) | |
Variables | |
const ndn::time::milliseconds | HELLO_INTEREST_LIFETIME = 1_s |
const ndn::time::milliseconds | HELLO_REPLY_FRESHNESS = 1_s |
const ndn::time::milliseconds | SYNC_INTEREST_LIFETIME = 1_s |
const ndn::time::milliseconds | SYNC_INTEREST_LIFTIME = 1_s |
const ndn::time::milliseconds | SYNC_REPLY_FRESHNESS = 1_s |
using psync::ReceiveHelloCallback = typedef std::function<void(const std::map<ndn::Name, uint64_t>&)> |
Definition at line 39 of file consumer.hpp.
using psync::UpdateCallback = typedef std::function<void(const std::vector<MissingDataInfo>&)> |
Definition at line 62 of file common.hpp.
|
strong |
Enumerator | |
---|---|
NONE | |
ZLIB | |
GZIP | |
BZIP2 | |
LZMA | |
ZSTD | |
DEFAULT |
Definition at line 35 of file common.hpp.
psync::NDN_LOG_INIT | ( | psync. | Consumer | ) |
const ndn::time::milliseconds psync::HELLO_INTEREST_LIFETIME = 1_s |
Definition at line 41 of file consumer.hpp.
const ndn::time::milliseconds psync::HELLO_REPLY_FRESHNESS = 1_s |
Definition at line 35 of file partial-producer.hpp.
const ndn::time::milliseconds psync::SYNC_INTEREST_LIFETIME = 1_s |
Definition at line 42 of file consumer.hpp.
const ndn::time::milliseconds psync::SYNC_INTEREST_LIFTIME = 1_s |
Definition at line 32 of file full-producer.hpp.
const ndn::time::milliseconds psync::SYNC_REPLY_FRESHNESS = 1_s |
Definition at line 45 of file producer-base.hpp.