Integrate name change (add /ndn/multicast/ prefix). Additionally updated unit tests to test cases of
many torrent segments and many manifests.
Change-Id: Ieb3b3971fb09e31ddb15d85b5907ee7be41ef1ba
diff --git a/src/torrent-manager.hpp b/src/torrent-manager.hpp
index 12096c3..8c638dd 100644
--- a/src/torrent-manager.hpp
+++ b/src/torrent-manager.hpp
@@ -341,9 +341,9 @@
uint64_t m_sortingCounter;
// Keychain instance
shared_ptr<KeyChain> m_keyChain;
-
+ // A collection for all interests that have been sent for which we have not received a response
std::unordered_set<ndn::Name> m_pendingInterests;
-
+ // A queue to hold all interests for requested data that we have yet to send
shared_ptr<InterestQueue> m_interestQueue;
// TODO(spyros) Fix and reintegrate update handler
// // Update Handler instance
@@ -393,14 +393,6 @@
return findTorrentFileSegmentToDownload() == nullptr;
}
-inline
-void
-TorrentManager::shutdown()
-{
- // TODO(msweatt) Consider unregistering all prefix to exit more gracefully
- m_face->shutdown();
-}
-
} // end ntorrent
} // end ndn