summaryrefslogtreecommitdiff
path: root/src/AnnounceList.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-12-09 15:54:54 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-12-09 15:54:54 +0000
commitb482568d59c1f5155be3f6ca4a2e3ec63b731fc8 (patch)
tree42a7436b9610c34442a15430e51733885f4e8990 /src/AnnounceList.h
parentb1695a65c022f938f0e74a9b416449dd29b85563 (diff)
2007-12-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed the bug: only first announce URL is tried in AnnounceTier, in stopped and completed event. * src/AnnounceList.{h, cc} * test/AnnounceListTest.cc * src/DefaultBtAnnounce.cc * test/DefaultBtAnnounceTest.cc Sorted URLs. * test/Metalink2RequestGroupTest.cc
Diffstat (limited to 'src/AnnounceList.h')
-rw-r--r--src/AnnounceList.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/AnnounceList.h b/src/AnnounceList.h
index 998953f5..62d5a756 100644
--- a/src/AnnounceList.h
+++ b/src/AnnounceList.h
@@ -119,6 +119,10 @@ public:
bool allTiersFailed() const;
void resetTier();
+
+ bool currentTierAcceptsStoppedEvent() const;
+
+ bool currentTierAcceptsCompletedEvent() const;
};
#endif // _D_ANNOUNCE_LIST_H_