FileDocCategorySizeDatePackage
ResourceDownloaderListener.javaAPI DocAzureus 3.0.3.41732Fri Feb 09 08:45:36 GMT 2007org.gudy.azureus2.plugins.utils.resourcedownloader

ResourceDownloaderListener

public interface ResourceDownloaderListener
author
parg

Fields Summary
Constructors Summary
Methods Summary
public booleancompleted(ResourceDownloader downloader, java.io.InputStream data)

param
downloader
param
data
return
return true if the completed download is OK. If false is returned then if there are alternative download sources they will be tried. If there are no other sources then the download will be "failed"

public voidfailed(ResourceDownloader downloader, ResourceDownloaderException e)

public voidreportActivity(ResourceDownloader downloader, java.lang.String activity)

public voidreportAmountComplete(ResourceDownloader downloader, long amount)

public voidreportPercentComplete(ResourceDownloader downloader, int percentage)