#include <face-status-publisher.hpp>
Public Member Functions | |
FaceStatusPublisher (const FaceTable &faceTable, AppFace &face, const Name &prefix, ndn::KeyChain &keyChain) | |
virtual | ~FaceStatusPublisher () |
Public Member Functions inherited from nfd::SegmentPublisher< AppFace > | |
SegmentPublisher (AppFace &face, const Name &prefix, ndn::KeyChain &keyChain, const time::milliseconds &freshnessPeriod=getDefaultFreshness()) | |
virtual | ~SegmentPublisher () |
void | publish () |
Protected Member Functions | |
virtual size_t | generate (ndn::EncodingBuffer &outBuffer) |
In a derived class, write the octets into outBuffer. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from nfd::SegmentPublisher< AppFace > | |
static size_t | getMaxSegmentSize () |
static constexpr time::milliseconds | getDefaultFreshness () |
Definition at line 36 of file face-status-publisher.hpp.
nfd::FaceStatusPublisher::FaceStatusPublisher | ( | const FaceTable & | faceTable, |
AppFace & | face, | ||
const Name & | prefix, | ||
ndn::KeyChain & | keyChain | ||
) |
Definition at line 33 of file face-status-publisher.cpp.
|
virtual |
Definition at line 42 of file face-status-publisher.cpp.
|
protectedvirtual |
In a derived class, write the octets into outBuffer.
Implements nfd::SegmentPublisher< AppFace >.
Definition at line 47 of file face-status-publisher.cpp.
References ndn::nfd::FaceStatus::wireEncode().