com.aelitis.azureus.core.download
Class DownloadManagerEnhancer

java.lang.Object
  extended by com.aelitis.azureus.core.download.DownloadManagerEnhancer

public class DownloadManagerEnhancer
extends Object


Field Summary
static int TICK_PERIOD
           
 
Constructor Summary
protected DownloadManagerEnhancer(AzureusCore _core)
           
 
Method Summary
 DownloadManager findDownloadManager(String hash)
           
protected  AzureusCore getCore()
           
 EnhancedDownloadManager getEnhancedDownload(byte[] hash)
           
 EnhancedDownloadManager getEnhancedDownload(DownloadManager manager)
           
static DownloadManagerEnhancer getSingleton()
           
static DownloadManagerEnhancer initialise(AzureusCore core)
           
 boolean isProgressiveAvailable()
           
protected  void pause(DownloadManager dm)
           
protected  void prepareForProgressiveMode(DownloadManager dm, boolean active)
           
protected  void progressiveActivated()
           
protected  void resume()
           
protected  void resume(DownloadManager dm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TICK_PERIOD

public static final int TICK_PERIOD
See Also:
Constant Field Values
Constructor Detail

DownloadManagerEnhancer

protected DownloadManagerEnhancer(AzureusCore _core)
Method Detail

initialise

public static DownloadManagerEnhancer initialise(AzureusCore core)

getSingleton

public static DownloadManagerEnhancer getSingleton()

progressiveActivated

protected void progressiveActivated()

getCore

protected AzureusCore getCore()

pause

protected void pause(DownloadManager dm)

resume

protected void resume(DownloadManager dm)

resume

protected void resume()

prepareForProgressiveMode

protected void prepareForProgressiveMode(DownloadManager dm,
                                         boolean active)

getEnhancedDownload

public EnhancedDownloadManager getEnhancedDownload(byte[] hash)

getEnhancedDownload

public EnhancedDownloadManager getEnhancedDownload(DownloadManager manager)

isProgressiveAvailable

public boolean isProgressiveAvailable()

findDownloadManager

public DownloadManager findDownloadManager(String hash)
Parameters:
hash -
Returns:
Since:
3.0.1.7