com.aelitis.azureus.core.devices.impl
Class DeviceOfflineDownloaderImpl.TransferableDownload

java.lang.Object
  extended by com.aelitis.azureus.core.devices.impl.DeviceOfflineDownloaderImpl.TransferableDownload
Enclosing class:
DeviceOfflineDownloaderImpl

protected class DeviceOfflineDownloaderImpl.TransferableDownload
extends java.lang.Object


Constructor Summary
protected DeviceOfflineDownloaderImpl.TransferableDownload(DownloadManager _download, java.lang.String _hash_str, byte[] _have_map, long _transfer_size_estimate)
           
 
Method Summary
protected  void activate()
           
protected  long calcDiff()
           
protected  void deactivate()
           
protected  long getCurrentTransferSize()
           
protected  int getDataPort()
           
protected  DownloadManager getDownload()
           
protected  java.lang.String getHash()
           
protected  byte[] getHaveMap()
           
protected  long getRemaining()
           
protected  long getStartTime()
           
protected  boolean isActive()
           
protected  boolean isForced()
           
protected  void setDataPort(int dp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeviceOfflineDownloaderImpl.TransferableDownload

protected DeviceOfflineDownloaderImpl.TransferableDownload(DownloadManager _download,
                                                           java.lang.String _hash_str,
                                                           byte[] _have_map,
                                                           long _transfer_size_estimate)
Method Detail

calcDiff

protected long calcDiff()

getCurrentTransferSize

protected long getCurrentTransferSize()

getRemaining

protected long getRemaining()

getStartTime

protected long getStartTime()

isForced

protected boolean isForced()

isActive

protected boolean isActive()

getDataPort

protected int getDataPort()

setDataPort

protected void setDataPort(int dp)

activate

protected void activate()

deactivate

protected void deactivate()

getDownload

protected DownloadManager getDownload()

getHash

protected java.lang.String getHash()

getHaveMap

protected byte[] getHaveMap()