Package com.biglybt.core.download.impl
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 TypeMethodDescriptionvoid
completionChanged
(DownloadManager manager, boolean bCompleted) Notification that the completion state has changed.void
downloadComplete
(DownloadManager manager) Notification that we were downloading and the download has completedvoid
filePriorityChanged
(DownloadManager download, DiskManagerFileInfo file) void
positionChanged
(DownloadManager download, int oldPosition, int newPosition) void
stateChanged
(DownloadManager manager, int state) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.biglybt.core.download.DownloadManagerListener
fileLocationChanged
-
Constructor Details
-
DownloadManagerAdapter
public DownloadManagerAdapter()
-
-
Method Details
-
stateChanged
- Specified by:
stateChanged
in interfaceDownloadManagerListener
-
downloadComplete
Description copied from interface:DownloadManagerListener
Notification that we were downloading and the download has completed- Specified by:
downloadComplete
in interfaceDownloadManagerListener
-
completionChanged
Description copied from interface:DownloadManagerListener
Notification 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:
completionChanged
in interfaceDownloadManagerListener
-
positionChanged
- Specified by:
positionChanged
in interfaceDownloadManagerListener
-
filePriorityChanged
- Specified by:
filePriorityChanged
in interfaceDownloadManagerListener
-