fw: remove EndpointId from egress APIs
This commit partially reverts c70794810592a90847656a97caf27f0326668240
refs: #4849, #4973
Change-Id: I1063e5de2c0e3c90971c4ae006ce46de386c2ed0
diff --git a/tests/daemon/fw/strategy-tester.hpp b/tests/daemon/fw/strategy-tester.hpp
index 519e8db..17806ec 100644
--- a/tests/daemon/fw/strategy-tester.hpp
+++ b/tests/daemon/fw/strategy-tester.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2014-2019, Regents of the University of California,
+ * Copyright (c) 2014-2020, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University,
@@ -108,11 +108,11 @@
protected:
void
- sendInterest(const shared_ptr<pit::Entry>& pitEntry, const FaceEndpoint& egress,
+ sendInterest(const shared_ptr<pit::Entry>& pitEntry, Face& egress,
const Interest& interest) override
{
- sendInterestHistory.push_back({pitEntry->getInterest(), egress.face.getId(), interest});
- pitEntry->insertOrUpdateOutRecord(egress.face, interest);
+ sendInterestHistory.push_back({pitEntry->getInterest(), egress.getId(), interest});
+ pitEntry->insertOrUpdateOutRecord(egress, interest);
afterAction();
}
@@ -124,11 +124,11 @@
}
void
- sendNack(const shared_ptr<pit::Entry>& pitEntry, const FaceEndpoint& egress,
+ sendNack(const shared_ptr<pit::Entry>& pitEntry, Face& egress,
const lp::NackHeader& header) override
{
- sendNackHistory.push_back({pitEntry->getInterest(), egress.face.getId(), header});
- pitEntry->deleteInRecord(egress.face);
+ sendNackHistory.push_back({pitEntry->getInterest(), egress.getId(), header});
+ pitEntry->deleteInRecord(egress);
afterAction();
}