Project

General

Profile

Feature #4696

Updated by Davide Pesavento over 3 years ago

Develop a `SegmentPublisher` class that implements the recommended segmentation procedure. 
 It should support both a finite object and an infinite stream. 

 A few existing implementations: 

 * [StatusDatasetContext](https://github.com/named-data/ndn-cxx/blob/01cea502cad96c0f4cf8fa02b81c89197a28040a/ndn-cxx/mgmt/status-dataset-context.cpp#L63) [StatusDatasetContext](https://github.com/named-data/ndn-cxx/blob/1fd00240e0191dcee7af256a8cb027d25241a246/src/mgmt/status-dataset-context.cpp#L69) 
 * [PSync](https://github.com/named-data/PSync/blob/9f14dcd319dba95545f2c850ef4b3f5a6b6882bc/PSync/segment-publisher.cpp#L44) [PSync](https://github.com/named-data/PSync/blob/0b2897e694aa1ca91af9d7679a8200a20d72c812/src/full-producer.cpp#L396) 
 * [ndnputchunks](https://github.com/named-data/ndn-tools/blob/f8d9a531dd6c56207f6b2b58df881b4fe2703e60/tools/chunks/putchunks/producer.cpp#L152) [ndnputchunks](https://github.com/named-data/ndn-tools/blob/969cd5add42ce049774393ebc9d251d79e26c446/tools/chunks/putchunks/producer.cpp#L104)

Back