FileDocCategorySizeDatePackage
DownloadManagerListener.javaAPI DocAzureus 3.0.3.41978Mon Apr 10 03:15:32 BST 2006org.gudy.azureus2.core3.download

DownloadManagerListener

public interface DownloadManagerListener
author
parg [Paper 2004/01/12] Added DownloadManager parameter to calls. This allows for one listener object to listen to many DownloadManagers

Fields Summary
Constructors Summary
Methods Summary
public voidcompletionChanged(DownloadManager manager, boolean bCompleted)
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.

public voiddownloadComplete(DownloadManager manager)
Notification that we were downloading and the download has completed

public voidfilePriorityChanged(DownloadManager download, org.gudy.azureus2.core3.disk.DiskManagerFileInfo file)

public voidpositionChanged(DownloadManager download, int oldPosition, int newPosition)

public voidstateChanged(DownloadManager manager, int state)