Constructor options. More...
#include <PSync/consumer.hpp>
Public Attributes | |
| uint32_t | bfCount = 6 |
| Number of expected elements (subscriptions) in Bloom filter. | |
| double | bfFalsePositive = 0.001 |
| Bloom filter false positive probability. | |
| ndn::time::milliseconds | helloInterestLifetime = HELLO_INTEREST_LIFETIME |
| Lifetime of hello Interest. | |
| ReceiveHelloCallback | onHelloData = [] (const auto&) {} |
| Callback to give hello data back to application. | |
| UpdateCallback | onUpdate = [] (const auto&) {} |
| Callback to give sync data back to application. | |
| ndn::time::milliseconds | syncInterestLifetime = SYNC_INTEREST_LIFETIME |
| Lifetime of sync Interest. | |
Constructor options.
Definition at line 61 of file consumer.hpp.
| uint32_t psync::Consumer::Options::bfCount = 6 |
Number of expected elements (subscriptions) in Bloom filter.
Definition at line 68 of file consumer.hpp.
| double psync::Consumer::Options::bfFalsePositive = 0.001 |
Bloom filter false positive probability.
Definition at line 70 of file consumer.hpp.
| ndn::time::milliseconds psync::Consumer::Options::helloInterestLifetime = HELLO_INTEREST_LIFETIME |
Lifetime of hello Interest.
Definition at line 72 of file consumer.hpp.
| ReceiveHelloCallback psync::Consumer::Options::onHelloData = [] (const auto&) {} |
Callback to give hello data back to application.
Definition at line 64 of file consumer.hpp.
| UpdateCallback psync::Consumer::Options::onUpdate = [] (const auto&) {} |
Callback to give sync data back to application.
Definition at line 66 of file consumer.hpp.
| ndn::time::milliseconds psync::Consumer::Options::syncInterestLifetime = SYNC_INTEREST_LIFETIME |
Lifetime of sync Interest.
Definition at line 74 of file consumer.hpp.