mgmt: loosened coupling between FibManager and InternalFace
Implemented InternalFace.setInterestFilter to loosen
coupling
refs: #1138
Change-Id: Ie58daed35bc3613398c8d3fc1de8b796e29907b8
diff --git a/daemon/mgmt/internal-face.hpp b/daemon/mgmt/internal-face.hpp
index 4b16cc1..217d631 100644
--- a/daemon/mgmt/internal-face.hpp
+++ b/daemon/mgmt/internal-face.hpp
@@ -18,8 +18,7 @@
{
public:
- explicit
- InternalFace(FibManager& manager);
+ InternalFace();
// Overridden Face methods for forwarder
@@ -47,8 +46,6 @@
// onConfig(ConfigFile::Node section, bool isDryRun);
std::map<Name, OnInterest> m_interestFilters;
- FibManager& m_fibManager; // for mock only
-
};
} // namespace nfd