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
:
46
ndn::nfd::ForwarderStatus
47
collectGeneralStatus();
48
51
void
52
listGeneralStatus(
const
Name
& topPrefix,
const
Interest
& interest,
53
ndn::mgmt::StatusDatasetContext
& context);
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
ndn::nfd::ForwarderStatus
represents NFD Forwarder Status
Definition:
nfd-forwarder-status.hpp:36
ndn::mgmt::Dispatcher
represents a dispatcher on server side of NFD Management protocol
Definition:
dispatcher.hpp:129
nfd::Forwarder
main class of NFD
Definition:
forwarder.hpp:55
manager-base.hpp
ndn::Interest
represents an Interest packet
Definition:
interest.hpp:45
nfd::ForwarderStatusManager
implement the Forwarder Status of NFD Management Protocol.
Definition:
forwarder-status-manager.hpp:40
nfd
Copyright (c) 2011-2015 Regents of the University of California.
Definition:
ndn-common.hpp:40
ndn::Name
Name abstraction to represent an absolute name.
Definition:
name.hpp:46
nfd::Forwarder
Forwarder
Definition:
forwarder.cpp:38
ndn::time::system_clock::TimePoint
time_point TimePoint
Definition:
time.hpp:78
ndn::mgmt::StatusDatasetContext
provides a context for generating response to a StatusDataset request
Definition:
status-dataset-context.hpp:36
nfd::ForwarderStatusManager::ForwarderStatusManager
ForwarderStatusManager(Forwarder &forwarder, Dispatcher &dispatcher)
Definition:
forwarder-status-manager.cpp:34
ndnSIM
NFD
daemon
mgmt
forwarder-status-manager.hpp
Generated on Sat Nov 12 2016 16:02:54 for ndnSIM by
1.8.12