20 #ifndef PSYNC_PARTIAL_PRODUCER_HPP 21 #define PSYNC_PARTIAL_PRODUCER_HPP 27 #include <unordered_set> 29 #include <ndn-cxx/face.hpp> 30 #include <ndn-cxx/security/key-chain.hpp> 31 #include <ndn-cxx/util/scheduler.hpp> 32 #include <ndn-cxx/util/time.hpp> 69 const ndn::Name& syncPrefix,
70 const ndn::Name& userPrefix,
86 publishName(
const ndn::Name& prefix, ndn::optional<uint64_t> seq = ndn::nullopt);
95 satisfyPendingSyncInterests(
const ndn::Name& prefix);
107 onHelloInterest(
const ndn::Name& prefix,
const ndn::Interest& interest);
119 onSyncInterest(
const ndn::Name& prefix,
const ndn::Interest& interest);
122 std::map<ndn::Name, PendingEntryInfo> m_pendingEntries;
123 ndn::ScopedRegisteredPrefixHandle m_registeredPrefix;
128 #endif // PSYNC_PARTIAL_PRODUCER_HPP
#define PUBLIC_WITH_TESTS_ELSE_PRIVATE
const ndn::time::milliseconds HELLO_REPLY_FRESHNESS
ndn::util::scheduler::ScopedEventId expirationEvent
const ndn::time::milliseconds SYNC_REPLY_FRESHNESS
Partial sync logic to publish data names.
Invertible Bloom Lookup Table (Invertible Bloom Filter)
Base class for PartialProducer and FullProducer.