| /* -*- 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_INTERNAL_FACE_HPP |
| #define NFD_MGMT_INTERNAL_FACE_HPP |
| class InternalFace : public Face, public AppFace |
| * \brief InternalFace-related error |
| struct Error : public Face::Error |
| Error(const std::string& what) : Face::Error(what) {} |
| // Overridden Face methods for forwarder |
| sendInterest(const Interest& interest); |
| sendData(const Data& data); |
| // Methods implementing AppFace interface. Do not invoke from forwarder. |
| setInterestFilter(const Name& filter, |
| // onConfig(ConfigFile::Node section, bool isDryRun); |
| std::map<Name, OnInterest> m_interestFilters; |
| #endif //NFD_MGMT_INTERNAL_FACE_HPP |