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 DownloadEventNotifierImpl.BaseDownloadListener
listeners -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddownloadAdded(Download download) voiddownloadRemoved(Download download) voidonCompletion(Download download) Called when a download enters a complete state (previously being incomplete).Methods inherited from class DownloadEventNotifierImpl.BaseDownloadListener
addListener, removeListener
-
Constructor Details
-
DownloadCompletionNotifier
public DownloadCompletionNotifier()
-
-
Method Details
-
downloadAdded
- Specified by:
downloadAddedin interfaceDownloadManagerListener
-
downloadRemoved
- Specified by:
downloadRemovedin interfaceDownloadManagerListener
-
onCompletion
Description copied from interface:DownloadCompletionListenerCalled when a download enters a complete state (previously being incomplete).- Specified by:
onCompletionin interfaceDownloadCompletionListener- Parameters:
download- Download which has been completed.
-