fw: add FaceEndpoint parameter in Forwarding and Strategy API
refs: #4849
Change-Id: Ibe22557488fa83a555fd13d6eb8e03f8d81d0b2b
diff --git a/tests/daemon/fw/dummy-strategy.hpp b/tests/daemon/fw/dummy-strategy.hpp
index 697d5ae..9a2445b 100644
--- a/tests/daemon/fw/dummy-strategy.hpp
+++ b/tests/daemon/fw/dummy-strategy.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2018, Regents of the University of California,
+ * Copyright (c) 2014-2019, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -37,6 +37,8 @@
*
* DummyStrategy registers itself as /dummy-strategy/<max-version>, so that it can be instantiated
* with any version number. Aliases can be created with \p registerAs function.
+ *
+ * \note This strategy is not EndpointId-aware.
*/
class DummyStrategy : public fw::Strategy
{
@@ -57,27 +59,27 @@
/** \brief after receive Interest trigger
*
- * If \p interestOutFace is not null, Interest is forwarded to that face via send Interest action;
+ * If \p interestOutFace is not null, Interest is forwarded to that face and endpoint via send Interest action;
* otherwise, reject pending Interest action is invoked.
*/
void
- afterReceiveInterest(const Face& inFace, const Interest& interest,
+ afterReceiveInterest(const FaceEndpoint& ingress, const Interest& interest,
const shared_ptr<pit::Entry>& pitEntry) override;
void
beforeSatisfyInterest(const shared_ptr<pit::Entry>& pitEntry,
- const Face& inFace, const Data& data) override;
+ const FaceEndpoint& ingress, const Data& data) override;
void
afterContentStoreHit(const shared_ptr<pit::Entry>& pitEntry,
- const Face& inFace, const Data& data) override;
+ const FaceEndpoint& ingress, const Data& data) override;
void
afterReceiveData(const shared_ptr<pit::Entry>& pitEntry,
- const Face& inFace, const Data& data) override;
+ const FaceEndpoint& ingress, const Data& data) override;
void
- afterReceiveNack(const Face& inFace, const lp::Nack& nack,
+ afterReceiveNack(const FaceEndpoint& ingress, const lp::Nack& nack,
const shared_ptr<pit::Entry>& pitEntry) override;
protected: