psync Namespace Reference

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 > &)>
 

Enumerations

enum  CompressionScheme {
  CompressionScheme::NONE,
  CompressionScheme::ZLIB,
  CompressionScheme::GZIP,
  CompressionScheme::BZIP2,
  CompressionScheme::LZMA,
  CompressionScheme::ZSTD,
  CompressionScheme::DEFAULT = ZLIB
}
 

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
 

Typedef Documentation

◆ ReceiveHelloCallback

using psync::ReceiveHelloCallback = typedef std::function<void(const std::map<ndn::Name, uint64_t>&)>

Definition at line 39 of file consumer.hpp.

◆ UpdateCallback

using psync::UpdateCallback = typedef std::function<void(const std::vector<MissingDataInfo>&)>

Definition at line 62 of file common.hpp.

Enumeration Type Documentation

◆ CompressionScheme

Enumerator
NONE 
ZLIB 
GZIP 
BZIP2 
LZMA 
ZSTD 
DEFAULT 

Definition at line 35 of file common.hpp.

Function Documentation

◆ NDN_LOG_INIT()

psync::NDN_LOG_INIT ( psync.  Consumer)

Variable Documentation

◆ HELLO_INTEREST_LIFETIME

const ndn::time::milliseconds psync::HELLO_INTEREST_LIFETIME = 1_s

Definition at line 41 of file consumer.hpp.

◆ HELLO_REPLY_FRESHNESS

const ndn::time::milliseconds psync::HELLO_REPLY_FRESHNESS = 1_s

Definition at line 35 of file partial-producer.hpp.

◆ SYNC_INTEREST_LIFETIME

const ndn::time::milliseconds psync::SYNC_INTEREST_LIFETIME = 1_s

Definition at line 42 of file consumer.hpp.

◆ SYNC_INTEREST_LIFTIME

const ndn::time::milliseconds psync::SYNC_INTEREST_LIFTIME = 1_s

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

◆ SYNC_REPLY_FRESHNESS

const ndn::time::milliseconds psync::SYNC_REPLY_FRESHNESS = 1_s

Definition at line 45 of file producer-base.hpp.