fw: refine pipelines, dispatch to strategy
refs #1345 #1255
Change-Id: If1cfc26049f87318103fc09c3b211ebf1eb3ebaa
diff --git a/daemon/fw/best-route-strategy.hpp b/daemon/fw/best-route-strategy.hpp
index 4d7a5b0..0f087f8 100644
--- a/daemon/fw/best-route-strategy.hpp
+++ b/daemon/fw/best-route-strategy.hpp
@@ -19,8 +19,7 @@
class BestRouteStrategy : public Strategy
{
public:
- explicit
- BestRouteStrategy(Forwarder& forwarder);
+ BestRouteStrategy(Forwarder& forwarder, const Name& name = STRATEGY_NAME);
virtual
~BestRouteStrategy();
@@ -30,6 +29,9 @@
const Interest& interest,
shared_ptr<fib::Entry> fibEntry,
shared_ptr<pit::Entry> pitEntry);
+
+public:
+ static const Name STRATEGY_NAME;
};
} // namespace fw