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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
Constructor Details
-
DownloadCompletionNotifier
public DownloadCompletionNotifier()
-
-
Method Details
-
downloadAdded
- Specified by:
downloadAdded
in interfaceDownloadManagerListener
-
downloadRemoved
- Specified by:
downloadRemoved
in interfaceDownloadManagerListener
-
onCompletion
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.
-