mgmt refactoring: Refactor InternalFace
InternalFace is now exclusively for internal use by NFD's forwarding
pipelines. A separate InternalClientFace has been introduced, intended
to be used by the NFD internal applications, including FIB, Face, RIB
manager, and others.
Change-Id: I4a06b9d05b1613a456c6267582091924557d73be
Refs: #2107
diff --git a/daemon/nfd.hpp b/daemon/nfd.hpp
index acd3096..1240835 100644
--- a/daemon/nfd.hpp
+++ b/daemon/nfd.hpp
@@ -41,6 +41,7 @@
class FaceManager;
class StrategyChoiceManager;
class StatusServer;
+class InternalClientFace;
/**
* \brief Class representing NFD instance
@@ -97,14 +98,14 @@
unique_ptr<Forwarder> m_forwarder;
+ ndn::KeyChain& m_keyChain;
shared_ptr<InternalFace> m_internalFace;
+ shared_ptr<InternalClientFace> m_internalClientFace;
// unique_ptr<FibManager> m_fibManager;
// unique_ptr<FaceManager> m_faceManager;
// unique_ptr<StrategyChoiceManager> m_strategyChoiceManager;
// unique_ptr<StatusServer> m_statusServer;
- // ndn::KeyChain& m_keyChain;
-
ndn::util::NetworkMonitor m_networkMonitor;
scheduler::ScopedEventId m_reloadConfigEvent;
};