#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) | |
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 () |
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 nfd::Fib::begin(), nfd::Fib::end(), nfd::fib::NextHop::getCost(), nfd::fib::NextHop::getFace(), nfd::fib::Entry::getNextHops(), nfd::fib::Entry::getPrefix(), ns3::ndn::Name, NFD_LOG_DEBUG, and nfd::fib::NextHop::setCost().