common.hpp File Reference
#include "PSync/detail/config.hpp"
#include <ndn-cxx/name.hpp>
#include <ndn-cxx/util/time.hpp>
#include <cstddef>
#include <cstdint>
#include <functional>
#include <stdexcept>
#include <vector>
+ Include dependency graph for common.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  psync::CompressionError
 
struct  psync::MissingDataInfo
 

Namespaces

 psync
 

Typedefs

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

Enumerations

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

Variables

constexpr ndn::time::milliseconds psync::HELLO_INTEREST_LIFETIME = 1_s
 
constexpr ndn::time::milliseconds psync::HELLO_REPLY_FRESHNESS = 1_s
 
constexpr ndn::time::milliseconds psync::SYNC_INTEREST_LIFETIME = 1_s
 
constexpr ndn::time::milliseconds psync::SYNC_REPLY_FRESHNESS = 1_s