NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
fib-enumeration-publisher.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26 #ifndef NFD_DAEMON_MGMT_FIB_ENUMERATION_PUBLISHER_HPP
27 #define NFD_DAEMON_MGMT_FIB_ENUMERATION_PUBLISHER_HPP
28 
30 #include "mgmt/app-face.hpp"
31 
32 namespace nfd {
33 
34 class Fib;
35 
37 {
38 public:
39  FibEnumerationPublisher(const Fib& fib,
40  AppFace& face,
41  const Name& prefix,
42  ndn::KeyChain& keyChain);
43 
44  virtual
46 
47 protected:
48 
49  virtual size_t
50  generate(ndn::EncodingBuffer& outBuffer);
51 
52 private:
53  const Fib& m_fib;
54 };
55 
56 } // namespace nfd
57 
58 #endif // NFD_DAEMON_MGMT_FIB_ENUMERATION_PUBLISHER_HPP
provides a publisher of Status Dataset or other segmented octet stream
represents the FIB
Definition: fib.hpp:44
EncodingImpl< EncoderTag > EncodingBuffer
Copyright (c) 2011-2015 Regents of the University of California.
Definition: ndn-common.hpp:38
virtual size_t generate(ndn::EncodingBuffer &outBuffer)
In a derived class, write the octets into outBuffer.
Name abstraction to represent an absolute name.
Definition: name.hpp:46
FibEnumerationPublisher(const Fib &fib, AppFace &face, const Name &prefix, ndn::KeyChain &keyChain)