| /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
| * Copyright (C) 2014 Named Data Networking Project |
| * See COPYING for copyright and distribution information. |
| #ifndef NFD_MGMT_STATUS_SERVER_HPP |
| #define NFD_MGMT_STATUS_SERVER_HPP |
| #include "mgmt/app-face.hpp" |
| #include <ndn-cpp-dev/management/nfd-status.hpp> |
| class StatusServer : noncopyable |
| StatusServer(shared_ptr<AppFace> face, Forwarder& forwarder); |
| onInterest(const Interest& interest) const; |
| shared_ptr<ndn::nfd::Status> |
| static const Name DATASET_PREFIX; |
| static const time::milliseconds RESPONSE_FRESHNESS; |
| shared_ptr<AppFace> m_face; |
| time::system_clock::TimePoint m_startTimestamp; |
| #endif // NFD_MGMT_STATUS_SERVER_HPP |