Package com.biglybt.plugin.extseed.util
Class ExternalSeedHTTPDownloaderLinear.Downloader
java.lang.Object
com.biglybt.plugin.extseed.util.ExternalSeedHTTPDownloaderLinear.Downloader
- All Implemented Interfaces:
SEPasswordListener
- Enclosing class:
ExternalSeedHTTPDownloaderLinear
protected class ExternalSeedHTTPDownloaderLinear.Downloader
extends Object
implements SEPasswordListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private boolean
private RandomAccessFile
private File
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Downloader
(ExternalSeedHTTPDownloaderListener _listener, boolean _con_fail_is_perm_fail) -
Method Summary
Modifier and TypeMethodDescriptionprotected ExternalSeedHTTPDownloaderLinear.Request
addRequest
(long offset, int length, ExternalSeedHTTPDownloaderListener listener) protected int
void
protected void
destroy
(ExternalSeedException error) protected void
download()
getAuthentication
(String realm, URL tracker) void
setAuthenticationOutcome
(String realm, URL tracker, boolean success)
-
Field Details
-
listener
-
con_fail_is_perm_fail
private boolean con_fail_is_perm_fail -
destroyed
private volatile boolean destroyed -
requests
-
raf
-
scratch_file
-
-
Constructor Details
-
Downloader
-
-
Method Details
-
download
protected void download() -
addRequest
protected ExternalSeedHTTPDownloaderLinear.Request addRequest(long offset, int length, ExternalSeedHTTPDownloaderListener listener) throws ExternalSeedException - Throws:
ExternalSeedException
-
checkRequests
protected int checkRequests() -
destroy
-
getAuthentication
- Specified by:
getAuthentication
in interfaceSEPasswordListener
-
setAuthenticationOutcome
- Specified by:
setAuthenticationOutcome
in interfaceSEPasswordListener
-
clearPasswords
public void clearPasswords()- Specified by:
clearPasswords
in interfaceSEPasswordListener
-