esp8266ndn
NDN Arduino library for ESP8266 and more
|
#include <segment-producer.hpp>
Public Attributes | |
const PrivateKey & | signer = DigestKey::get() |
size_t | contentLen = 1000 |
Maximum Content TLV-VALUE in each segment. More... | |
uint32_t | freshnessPeriod = 1000 |
int | discovery = 2 |
Name discovery setting. More... | |
size_t ndnph::SegmentProducerBase::Options::contentLen = 1000 |
Maximum Content TLV-VALUE in each segment.
int ndnph::SegmentProducerBase::Options::discovery = 2 |
Name discovery setting.
0
Interest name must equal Data name, i.e. include the segment number. 1
Interest name can have 1 fewer component than Data name. Suppose Data name ends with version and segment components, Interest name must specify version component but may omit segment component. 2
Interest name can have 2 fewer components than Data name. Suppose Data name ends with version and segment components, Interest name may omit these two components, achieving a simple form of version discovery.
uint32_t ndnph::SegmentProducerBase::Options::freshnessPeriod = 1000 |
const PrivateKey& ndnph::SegmentProducerBase::Options::signer = DigestKey::get() |