Package com.biglybt.plugin.extseed.util
Class ExternalSeedHTTPDownloaderLinear
java.lang.Object
com.biglybt.plugin.extseed.util.ExternalSeedHTTPDownloaderLinear
- All Implemented Interfaces:
ExternalSeedHTTPDownloader
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class
private static class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
void
download
(int length, ExternalSeedHTTPDownloaderListener listener, boolean con_fail_is_perm_fail) void
downloadRange
(long offset, int length, ExternalSeedHTTPDownloaderListener listener, boolean con_fail_is_perm_fail) void
downloadSocket
(int length, ExternalSeedHTTPDownloaderListener listener, boolean con_fail_is_perm_fail) int
int
-
Field Details
-
very_original_url
-
user_agent
-
last_response
private int last_response -
last_response_retry_after_secs
private int last_response_retry_after_secs -
downloader
-
-
Constructor Details
-
ExternalSeedHTTPDownloaderLinear
-
-
Method Details
-
downloadRange
public void downloadRange(long offset, int length, ExternalSeedHTTPDownloaderListener listener, boolean con_fail_is_perm_fail) throws ExternalSeedException - Specified by:
downloadRange
in interfaceExternalSeedHTTPDownloader
- Throws:
ExternalSeedException
-
deactivate
public void deactivate()- Specified by:
deactivate
in interfaceExternalSeedHTTPDownloader
-
destoyed
-
download
public void download(int length, ExternalSeedHTTPDownloaderListener listener, boolean con_fail_is_perm_fail) throws ExternalSeedException - Specified by:
download
in interfaceExternalSeedHTTPDownloader
- Throws:
ExternalSeedException
-
downloadSocket
public void downloadSocket(int length, ExternalSeedHTTPDownloaderListener listener, boolean con_fail_is_perm_fail) throws ExternalSeedException - Specified by:
downloadSocket
in interfaceExternalSeedHTTPDownloader
- Throws:
ExternalSeedException
-
getLastResponse
public int getLastResponse()- Specified by:
getLastResponse
in interfaceExternalSeedHTTPDownloader
-
getLast503RetrySecs
public int getLast503RetrySecs()- Specified by:
getLast503RetrySecs
in interfaceExternalSeedHTTPDownloader
-