#include <fib-enumeration-publisher.hpp>
Public Member Functions | |
FibEnumerationPublisher (const Fib &fib, AppFace &face, const Name &prefix, ndn::KeyChain &keyChain) | |
virtual | ~FibEnumerationPublisher () |
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 fib-enumeration-publisher.hpp.
nfd::FibEnumerationPublisher::FibEnumerationPublisher | ( | const Fib & | fib, |
AppFace & | face, | ||
const Name & | prefix, | ||
ndn::KeyChain & | keyChain | ||
) |
Definition at line 35 of file fib-enumeration-publisher.cpp.
|
virtual |
Definition at line 44 of file fib-enumeration-publisher.cpp.
|
protectedvirtual |
In a derived class, write the octets into outBuffer.
Implements nfd::SegmentPublisher< AppFace >.
Definition at line 49 of file fib-enumeration-publisher.cpp.
References ndn::nfd::FibEntry::addNextHopRecord(), nfd::Fib::begin(), nfd::Fib::end(), nfd::fib::NextHop::getCost(), nfd::fib::NextHop::getFace(), nfd::fib::Entry::getNextHops(), nfd::fib::Entry::getPrefix(), NFD_LOG_DEBUG, ndn::nfd::NextHopRecord::setCost(), ndn::nfd::NextHopRecord::setFaceId(), ndn::nfd::FibEntry::setPrefix(), and ndn::nfd::FibEntry::wireEncode().