Class DownloadEventNotifierImpl.DownloadCompletionNotifier
- java.lang.Object
-
- com.biglybt.pifimpl.local.download.DownloadEventNotifierImpl.BaseDownloadListener
-
- com.biglybt.pifimpl.local.download.DownloadEventNotifierImpl.DownloadCompletionNotifier
-
- All Implemented Interfaces:
DownloadCompletionListener
,DownloadManagerListener
- Enclosing class:
- DownloadEventNotifierImpl
public class DownloadEventNotifierImpl.DownloadCompletionNotifier extends DownloadEventNotifierImpl.BaseDownloadListener implements DownloadCompletionListener
-
-
Field Summary
-
Fields inherited from class com.biglybt.pifimpl.local.download.DownloadEventNotifierImpl.BaseDownloadListener
listeners
-
-
Constructor Summary
Constructors Constructor Description DownloadCompletionNotifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
downloadAdded(Download download)
void
downloadRemoved(Download download)
void
onCompletion(Download download)
Called when a download enters a complete state (previously being incomplete).-
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
-
onCompletion
public void onCompletion(Download download)
Description copied from interface:DownloadCompletionListener
Called when a download enters a complete state (previously being incomplete).- Specified by:
onCompletion
in interfaceDownloadCompletionListener
- Parameters:
download
- Download which has been completed.
-
-