com.aelitis.azureus.plugins.extseed.util
Class ExternalSeedHTTPDownloaderLinear
java.lang.Object
com.aelitis.azureus.plugins.extseed.util.ExternalSeedHTTPDownloaderLinear
- All Implemented Interfaces:
- ExternalSeedHTTPDownloader
public class ExternalSeedHTTPDownloaderLinear
- extends Object
- implements ExternalSeedHTTPDownloader
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExternalSeedHTTPDownloaderLinear
public ExternalSeedHTTPDownloaderLinear(URL _url,
String _user_agent)
downloadRange
public void downloadRange(long offset,
int length,
ExternalSeedHTTPDownloaderListener listener,
boolean con_fail_is_perm_fail)
throws ExternalSeedException
- Specified by:
downloadRange
in interface ExternalSeedHTTPDownloader
- Throws:
ExternalSeedException
deactivate
public void deactivate()
- Specified by:
deactivate
in interface ExternalSeedHTTPDownloader
destoyed
protected void destoyed(ExternalSeedHTTPDownloaderLinear.Downloader dead)
download
public void download(int length,
ExternalSeedHTTPDownloaderListener listener,
boolean con_fail_is_perm_fail)
throws ExternalSeedException
- Specified by:
download
in interface ExternalSeedHTTPDownloader
- Throws:
ExternalSeedException
downloadSocket
public void downloadSocket(int length,
ExternalSeedHTTPDownloaderListener listener,
boolean con_fail_is_perm_fail)
throws ExternalSeedException
- Specified by:
downloadSocket
in interface ExternalSeedHTTPDownloader
- Throws:
ExternalSeedException
getLastResponse
public int getLastResponse()
- Specified by:
getLastResponse
in interface ExternalSeedHTTPDownloader
getLast503RetrySecs
public int getLast503RetrySecs()
- Specified by:
getLast503RetrySecs
in interface ExternalSeedHTTPDownloader