fw: integrate forwarder, strategy, tables
refs #1131, #1136
Change-Id: Ica58341cdc1ea1dc421693a87f35fc50177a707d
diff --git a/daemon/fw/strategy.cpp b/daemon/fw/strategy.cpp
index ed1233f..f8c2f12 100644
--- a/daemon/fw/strategy.cpp
+++ b/daemon/fw/strategy.cpp
@@ -5,11 +5,13 @@
*/
#include "strategy.hpp"
+#include "forwarder.hpp"
namespace nfd {
+namespace fw {
-Strategy::Strategy(Forwarder& fw)
- : m_fw(fw)
+Strategy::Strategy(Forwarder& forwarder)
+ : m_forwarder(forwarder)
{
}
@@ -22,13 +24,14 @@
Strategy::sendInterest(shared_ptr<pit::Entry> pitEntry,
shared_ptr<Face> outFace)
{
- m_fw.onOutgoingInterest(pitEntry, *outFace);
+ m_forwarder.onOutgoingInterest(pitEntry, *outFace);
}
void
Strategy::rebuffPendingInterest(shared_ptr<pit::Entry> pitEntry)
{
- m_fw.onInterestRebuff(pitEntry);
+ m_forwarder.onInterestRebuff(pitEntry);
}
+} // namespace fw
} // namespace nfd