NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: 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 "
core/manager-base.hpp
"
30
#include <
ndn-cxx/mgmt/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 General Status dataset
Definition:
forwarder-status.hpp:36
ndn::mgmt::Dispatcher
represents a dispatcher on server side of NFD Management protocol
Definition:
dispatcher.hpp:130
nfd::Forwarder
main class of NFD
Definition:
forwarder.hpp:54
manager-base.hpp
ndn::Interest
Represents an Interest packet.
Definition:
interest.hpp:44
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
forwarder-status.hpp
ndn::Name
Represents an absolute name.
Definition:
name.hpp:43
nfd::Forwarder
Forwarder
Definition:
forwarder.cpp:40
ndn::time::system_clock::TimePoint
time_point TimePoint
Definition:
time.hpp:195
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 Sun Feb 24 2019 22:16:07 for ndnSIM by
1.8.15