Class DownloadEventNotifierImpl.DownloadTrackerNotifier
java.lang.Object
com.biglybt.pifimpl.local.download.DownloadEventNotifierImpl.BaseDownloadListener
com.biglybt.pifimpl.local.download.DownloadEventNotifierImpl.DownloadTrackerNotifier
- All Implemented Interfaces:
DownloadManagerListener, DownloadTrackerListener
- Enclosing class:
DownloadEventNotifierImpl
public class DownloadEventNotifierImpl.DownloadTrackerNotifier
extends DownloadEventNotifierImpl.BaseDownloadListener
implements DownloadTrackerListener
-
Field Summary
FieldsFields inherited from class DownloadEventNotifierImpl.BaseDownloadListener
listeners -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidannounceResult(DownloadAnnounceResult result) An announce result has been returned from the trackervoiddownloadAdded(Download download) voiddownloadRemoved(Download download) voidscrapeResult(DownloadScrapeResult result) A scrape result has been returned from a trackerMethods inherited from class DownloadEventNotifierImpl.BaseDownloadListener
addListener, removeListener
-
Field Details
-
instant_notify
private boolean instant_notify
-
-
Constructor Details
-
DownloadTrackerNotifier
public DownloadTrackerNotifier(boolean instant_notify)
-
-
Method Details
-
downloadAdded
- Specified by:
downloadAddedin interfaceDownloadManagerListener
-
downloadRemoved
- Specified by:
downloadRemovedin interfaceDownloadManagerListener
-
scrapeResult
Description copied from interface:DownloadTrackerListenerA scrape result has been returned from a tracker- Specified by:
scrapeResultin interfaceDownloadTrackerListener- Parameters:
result- Information about the scrape
-
announceResult
Description copied from interface:DownloadTrackerListenerAn announce result has been returned from the tracker- Specified by:
announceResultin interfaceDownloadTrackerListener- Parameters:
result- Information about the announce
-