blob: d62b1c02a100b2e587066717f7a434df38cabb84 [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"
Steve DiBenedettobdedce92014-02-02 22:49:39 -070011
Steve DiBenedetto042bfe92014-01-30 15:05:08 -070012
13namespace nfd {
14
15class AppFace;
16
17class ManagerBase
18{
19public:
20 ManagerBase(shared_ptr<AppFace> face);
21
22 virtual
23 ~ManagerBase();
24
25protected:
26
Steve DiBenedetto3970c892014-01-31 23:31:13 -070027 void
Steve DiBenedetto042bfe92014-01-30 15:05:08 -070028 sendResponse(const Name& name,
29 uint32_t code,
30 const std::string& text);
31
32protected:
33 shared_ptr<AppFace> m_face;
Steve DiBenedetto042bfe92014-01-30 15:05:08 -070034};
35
36
Steve DiBenedetto80ddc212014-02-01 22:23:56 -070037} // namespace nfd
Steve DiBenedetto042bfe92014-01-30 15:05:08 -070038
39#endif // NFD_MGMT_MANAGER_BASE_HPP
40