Implemented set to monitor pending interests in manager.
Change-Id: I4a11db79053e69a19ceba0e0501b93911131d1d7
diff --git a/src/sequential-data-fetcher.hpp b/src/sequential-data-fetcher.hpp
index 4b050db..ba99c79 100644
--- a/src/sequential-data-fetcher.hpp
+++ b/src/sequential-data-fetcher.hpp
@@ -47,8 +47,9 @@
* @param dataPath The path that the manager would look for already stored data packets and
* will write new data packets
*/
- SequentialDataFetcher(const ndn::Name& torrentFileName,
- const std::string& dataPath);
+ SequentialDataFetcher(const ndn::Name& torrentFileName,
+ const std::string& dataPath,
+ bool seed = true);
~SequentialDataFetcher();
@@ -99,6 +100,7 @@
std::string m_dataPath;
ndn::Name m_torrentFileName;
shared_ptr<TorrentManager> m_manager;
+ bool m_seedFlag;
};
} // namespace ntorrent