provides a publisher of Status Dataset or other segmented octet stream More...
#include <segment-publisher.hpp>
Public Member Functions | |
SegmentPublisher (FaceBase &face, const Name &prefix, ndn::KeyChain &keyChain, const time::milliseconds &freshnessPeriod=getDefaultFreshness()) | |
virtual | ~SegmentPublisher () |
void | publish () |
Static Public Member Functions | |
static size_t | getMaxSegmentSize () |
static constexpr time::milliseconds | getDefaultFreshness () |
Protected Member Functions | |
virtual size_t | generate (ndn::EncodingBuffer &outBuffer)=0 |
In a derived class, write the octets into outBuffer. More... | |
provides a publisher of Status Dataset or other segmented octet stream
Definition at line 40 of file segment-publisher.hpp.
|
inline |
Definition at line 43 of file segment-publisher.hpp.
|
inlinevirtual |
Definition at line 55 of file segment-publisher.hpp.
|
inlinestatic |
Definition at line 60 of file segment-publisher.hpp.
Referenced by nfd::SegmentPublisher< ndn::Face >::publish().
|
inlinestatic |
Definition at line 67 of file segment-publisher.hpp.
|
inline |
Definition at line 73 of file segment-publisher.hpp.
|
protectedpure virtual |
In a derived class, write the octets into outBuffer.
Implemented in nfd::FaceQueryStatusPublisher, nfd::ChannelStatusPublisher, nfd::FaceStatusPublisher, nfd::FibEnumerationPublisher, nfd::StrategyChoicePublisher, and nfd::rib::RibStatusPublisher.
Referenced by nfd::SegmentPublisher< ndn::Face >::publish().