fw: refine pipelines, dispatch to strategy
refs #1345 #1255
Change-Id: If1cfc26049f87318103fc09c3b211ebf1eb3ebaa
diff --git a/daemon/fw/client-control-strategy.hpp b/daemon/fw/client-control-strategy.hpp
index 48f45b3..e5e8539 100644
--- a/daemon/fw/client-control-strategy.hpp
+++ b/daemon/fw/client-control-strategy.hpp
@@ -18,8 +18,7 @@
class ClientControlStrategy : public BestRouteStrategy
{
public:
- explicit
- ClientControlStrategy(Forwarder& forwarder);
+ ClientControlStrategy(Forwarder& forwarder, const Name& name = STRATEGY_NAME);
virtual
~ClientControlStrategy();
@@ -29,6 +28,9 @@
const Interest& interest,
shared_ptr<fib::Entry> fibEntry,
shared_ptr<pit::Entry> pitEntry);
+
+public:
+ static const Name STRATEGY_NAME;
};
} // namespace fw