Class DownloadEventNotifierImpl.DownloadActivationNotifier
java.lang.Object
com.biglybt.pifimpl.local.download.DownloadEventNotifierImpl.BaseDownloadListener
com.biglybt.pifimpl.local.download.DownloadEventNotifierImpl.DownloadActivationNotifier
- All Implemented Interfaces:
DownloadActivationListener
,DownloadManagerListener
- Enclosing class:
DownloadEventNotifierImpl
public class DownloadEventNotifierImpl.DownloadActivationNotifier
extends DownloadEventNotifierImpl.BaseDownloadListener
implements DownloadActivationListener
-
Field Summary
Fields inherited from class com.biglybt.pifimpl.local.download.DownloadEventNotifierImpl.BaseDownloadListener
listeners
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
A request has been made to activate the download.void
downloadAdded
(Download download) void
downloadRemoved
(Download download) Methods inherited from class com.biglybt.pifimpl.local.download.DownloadEventNotifierImpl.BaseDownloadListener
addListener, removeListener
-
Constructor Details
-
DownloadActivationNotifier
public DownloadActivationNotifier()
-
-
Method Details
-
downloadAdded
- Specified by:
downloadAdded
in interfaceDownloadManagerListener
-
downloadRemoved
- Specified by:
downloadRemoved
in interfaceDownloadManagerListener
-
activationRequested
Description copied from interface:DownloadActivationListener
A request has been made to activate the download. Not this is only fired on an increase in the activation request count, not on a decrease. To get a current snapshot of this use the method getActivationState in Download- Specified by:
activationRequested
in interfaceDownloadActivationListener
- Parameters:
event
-- Returns:
- return true if the download will be activated, false otherwise
-