blob: 97f4c05e687f6aa6ac138f2752ed09b529afabf8 [file] [log] [blame]
Steve DiBenedetto042bfe92014-01-30 15:05:08 -07001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2/**
3 * Copyright (C) 2014 Named Data Networking Project
4 * See COPYING for copyright and distribution information.
5 */
6
7#ifndef NFD_MGMT_MANAGER_BASE_HPP
8#define NFD_MGMT_MANAGER_BASE_HPP
9
10#include "common.hpp"
11
12namespace nfd {
13
14class AppFace;
15
16class ManagerBase
17{
18public:
19 ManagerBase(shared_ptr<AppFace> face);
20
21 virtual
22 ~ManagerBase();
23
24protected:
25
26 virtual void
27 sendResponse(const Name& name,
28 uint32_t code,
29 const std::string& text);
30
31protected:
32 shared_ptr<AppFace> m_face;
33};
34
35
36} // namespace ndf
37
38#endif // NFD_MGMT_MANAGER_BASE_HPP
39