Extension of scheduler, different logic in FetchManager regarding re-requesting (exponential backoff, and flipping broadcast/forwarding hint)
diff --git a/src/fetch-manager.h b/src/fetch-manager.h
index c26b78d..329b289 100644
--- a/src/fetch-manager.h
+++ b/src/fetch-manager.h
@@ -58,10 +58,6 @@
GetCcnx ();
private:
-
- inline SchedulerPtr
- GetScheduler ();
-
// Fetch Events
void
DidDataSegmentFetched (Fetcher &fetcher, uint64_t seqno, const Ccnx::Name &basename,
@@ -90,6 +86,8 @@
typedef boost::intrusive::list<Fetcher, MemberOption> FetchList;
FetchList m_fetchList;
+ SchedulerPtr m_scheduler;
+ TaskPtr m_scheduleFetchesTask;
};
Ccnx::CcnxWrapperPtr