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 DownloadEventNotifierImpl.BaseDownloadListener
listeners -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanA request has been made to activate the download.voiddownloadAdded(Download download) voiddownloadRemoved(Download download) Methods inherited from class DownloadEventNotifierImpl.BaseDownloadListener
addListener, removeListener
-
Constructor Details
-
DownloadActivationNotifier
public DownloadActivationNotifier()
-
-
Method Details
-
downloadAdded
- Specified by:
downloadAddedin interfaceDownloadManagerListener
-
downloadRemoved
- Specified by:
downloadRemovedin interfaceDownloadManagerListener
-
activationRequested
Description copied from interface:DownloadActivationListenerA 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:
activationRequestedin interfaceDownloadActivationListener- Parameters:
event-- Returns:
- return true if the download will be activated, false otherwise
-