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
Fields Modifier and Type Field Description private boolean
instant_notify
-
Fields inherited from class com.biglybt.pifimpl.local.download.DownloadEventNotifierImpl.BaseDownloadListener
listeners
-
-
Constructor Summary
Constructors Constructor Description DownloadTrackerNotifier(boolean instant_notify)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
announceResult(DownloadAnnounceResult result)
An announce result has been returned from the trackervoid
downloadAdded(Download download)
void
downloadRemoved(Download download)
void
scrapeResult(DownloadScrapeResult result)
A scrape result has been returned from a tracker-
Methods inherited from class com.biglybt.pifimpl.local.download.DownloadEventNotifierImpl.BaseDownloadListener
addListener, removeListener
-
-
-
-
Method Detail
-
downloadAdded
public void downloadAdded(Download download)
- Specified by:
downloadAdded
in interfaceDownloadManagerListener
-
downloadRemoved
public void downloadRemoved(Download download)
- Specified by:
downloadRemoved
in interfaceDownloadManagerListener
-
scrapeResult
public void scrapeResult(DownloadScrapeResult result)
Description copied from interface:DownloadTrackerListener
A scrape result has been returned from a tracker- Specified by:
scrapeResult
in interfaceDownloadTrackerListener
- Parameters:
result
- Information about the scrape
-
announceResult
public void announceResult(DownloadAnnounceResult result)
Description copied from interface:DownloadTrackerListener
An announce result has been returned from the tracker- Specified by:
announceResult
in interfaceDownloadTrackerListener
- Parameters:
result
- Information about the announce
-
-