NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
forwarder-status-manager.hpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
26 #ifndef NFD_DAEMON_MGMT_FORWARDER_STATUS_MANAGER_HPP
27 #define NFD_DAEMON_MGMT_FORWARDER_STATUS_MANAGER_HPP
28 
29 #include "manager-base.hpp"
30 #include <ndn-cxx/management/nfd-forwarder-status.hpp>
31 
32 namespace nfd {
33 
34 class Forwarder;
35 
40 class ForwarderStatusManager : noncopyable
41 {
42 public:
43  ForwarderStatusManager(Forwarder& forwarder, Dispatcher& dispatcher);
44 
45 private:
47  collectGeneralStatus();
48 
51  void
52  listGeneralStatus(const Name& topPrefix, const Interest& interest,
54 
55 private:
56  Forwarder& m_forwarder;
57  Dispatcher& m_dispatcher;
58  time::system_clock::TimePoint m_startTimestamp;
59 };
60 
61 } // namespace nfd
62 
63 #endif // NFD_DAEMON_MGMT_FORWARDER_STATUS_MANAGER_HPP
represents NFD Forwarder Status
represents a dispatcher on server side of NFD Management protocol
Definition: dispatcher.hpp:129
main class of NFD
Definition: forwarder.hpp:55
represents an Interest packet
Definition: interest.hpp:45
implement the Forwarder Status of NFD Management Protocol.
Copyright (c) 2011-2015 Regents of the University of California.
Definition: ndn-common.hpp:40
Name abstraction to represent an absolute name.
Definition: name.hpp:46
Forwarder
Definition: forwarder.cpp:38
time_point TimePoint
Definition: time.hpp:78
provides a context for generating response to a StatusDataset request
ForwarderStatusManager(Forwarder &forwarder, Dispatcher &dispatcher)