26 #ifndef NFD_DAEMON_FW_ACCESS_STRATEGY_HPP 27 #define NFD_DAEMON_FW_ACCESS_STRATEGY_HPP 32 #include <unordered_set> 33 #include <unordered_map> 61 const shared_ptr<pit::Entry>& pitEntry)
override;
65 const Face& inFace,
const Data& data)
override;
103 std::tuple<Name, MtInfo*>
104 findPrefixMeasurements(
const pit::Entry& pitEntry);
110 addPrefixMeasurements(
const Data& data);
123 typedef std::unordered_map<FaceId, FaceInfo> FaceInfoTable;
126 removeFaceInfo(
const Face& face);
130 afterReceiveNewInterest(
const Face& inFace,
const Interest& interest,
131 const shared_ptr<pit::Entry>& pitEntry);
134 afterReceiveRetxInterest(
const Face& inFace,
const Interest& interest,
135 const shared_ptr<pit::Entry>& pitEntry);
141 sendToLastNexthop(
const Face& inFace,
const Interest& interest,
142 const shared_ptr<pit::Entry>& pitEntry, MtInfo& mi,
146 afterRtoTimeout(weak_ptr<pit::Entry> pitWeak,
FaceId inFaceId,
FaceId firstOutFaceId);
153 multicast(
const Face& inFace,
const Interest& interest,
154 const shared_ptr<pit::Entry>& pitEntry,
const fib::Entry& fibEntry,
158 updateMeasurements(
const Face& inFace,
const Data& data,
164 signal::ScopedConnection m_removeFaceInfoConn;
170 #endif // NFD_DAEMON_FW_ACCESS_STRATEGY_HPP
time::microseconds Duration
implements the Mean-Deviation RTT estimator
AccessStrategy(Forwarder &forwarder, const Name &name=getStrategyName())
a retransmission suppression decision algorithm that suppresses retransmissions within a fixed durati...
void beforeSatisfyInterest(const shared_ptr< pit::Entry > &pitEntry, const Face &inFace, const Data &data) override
trigger before PIT entry is satisfied
cancels an event automatically upon destruction
Access Router Strategy version 1.
Copyright (c) 2014-2015, Regents of the University of California, Arizona Board of Regents...
contains arbitrary information forwarding strategy places on table entries
void afterReceiveInterest(const Face &inFace, const Interest &interest, const shared_ptr< pit::Entry > &pitEntry) override
trigger after Interest is received
represents a forwarding strategy
static const Name & getStrategyName()
uint64_t FaceId
identifies a face
const FaceId INVALID_FACEID
indicates an invalid FaceId