fw: refine pipelines, dispatch to strategy
refs #1345 #1255
Change-Id: If1cfc26049f87318103fc09c3b211ebf1eb3ebaa
diff --git a/daemon/fw/ncc-strategy.hpp b/daemon/fw/ncc-strategy.hpp
index 6e915aa..ff9bcf3 100644
--- a/daemon/fw/ncc-strategy.hpp
+++ b/daemon/fw/ncc-strategy.hpp
@@ -17,8 +17,7 @@
class NccStrategy : public Strategy
{
public:
- explicit
- NccStrategy(Forwarder& forwarder);
+ NccStrategy(Forwarder& forwarder, const Name& name = STRATEGY_NAME);
virtual
~NccStrategy();
@@ -102,6 +101,9 @@
void
timeoutOnBestFace(weak_ptr<pit::Entry> pitEntryWeak);
+public:
+ static const Name STRATEGY_NAME;
+
protected:
static const time::Duration DEFER_FIRST_WITHOUT_BEST_FACE;
static const time::Duration DEFER_RANGE_WITHOUT_BEST_FACE;