Class DownloadManagerAdapter
java.lang.Object
com.biglybt.core.download.impl.DownloadManagerAdapter
- All Implemented Interfaces:
DownloadManagerListener
- Direct Known Subclasses:
GlobalManagerImpl
Adapter for DownloadManagerListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompletionChanged(DownloadManager manager, boolean bCompleted) Notification that the completion state has changed.voiddownloadComplete(DownloadManager manager) Notification that we were downloading and the download has completedvoidfilePriorityChanged(DownloadManager download, DiskManagerFileInfo file) voidpositionChanged(DownloadManager download, int oldPosition, int newPosition) voidstateChanged(DownloadManager manager, int state) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DownloadManagerListener
fileLocationChanged
-
Constructor Details
-
DownloadManagerAdapter
public DownloadManagerAdapter()
-
-
Method Details
-
stateChanged
- Specified by:
stateChangedin interfaceDownloadManagerListener
-
downloadComplete
Description copied from interface:DownloadManagerListenerNotification that we were downloading and the download has completed- Specified by:
downloadCompletein interfaceDownloadManagerListener
-
completionChanged
Description copied from interface:DownloadManagerListenerNotification that the completion state has changed. Tells you when we switched from Completed to Incompleted (or visa versa) Does not get called when diskManager goes into CHECKING, but does when it goes out of CHECKING, to avoid torrents jumping momentarily from Completed to Incompleted to Completed again.- Specified by:
completionChangedin interfaceDownloadManagerListener
-
positionChanged
- Specified by:
positionChangedin interfaceDownloadManagerListener
-
filePriorityChanged
- Specified by:
filePriorityChangedin interfaceDownloadManagerListener
-