com.aelitis.azureus.plugins.extseed.util
Class ExternalSeedHTTPDownloaderLinear.Downloader

java.lang.Object
  extended by com.aelitis.azureus.plugins.extseed.util.ExternalSeedHTTPDownloaderLinear.Downloader
All Implemented Interfaces:
SEPasswordListener
Enclosing class:
ExternalSeedHTTPDownloaderLinear

protected class ExternalSeedHTTPDownloaderLinear.Downloader
extends Object
implements SEPasswordListener


Constructor Summary
protected ExternalSeedHTTPDownloaderLinear.Downloader(ExternalSeedHTTPDownloaderListener _listener, boolean _con_fail_is_perm_fail)
           
 
Method Summary
protected  com.aelitis.azureus.plugins.extseed.util.ExternalSeedHTTPDownloaderLinear.Request addRequest(long offset, int length, ExternalSeedHTTPDownloaderListener listener)
           
protected  int checkRequests()
           
 void clearPasswords()
           
protected  void destroy(ExternalSeedException error)
           
protected  void download()
           
 PasswordAuthentication getAuthentication(String realm, URL tracker)
           
 void setAuthenticationOutcome(String realm, URL tracker, boolean success)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalSeedHTTPDownloaderLinear.Downloader

protected ExternalSeedHTTPDownloaderLinear.Downloader(ExternalSeedHTTPDownloaderListener _listener,
                                                      boolean _con_fail_is_perm_fail)
Method Detail

download

protected void download()

addRequest

protected com.aelitis.azureus.plugins.extseed.util.ExternalSeedHTTPDownloaderLinear.Request addRequest(long offset,
                                                                                                       int length,
                                                                                                       ExternalSeedHTTPDownloaderListener listener)
                                                                                                throws ExternalSeedException
Throws:
ExternalSeedException

checkRequests

protected int checkRequests()

destroy

protected void destroy(ExternalSeedException error)

getAuthentication

public PasswordAuthentication getAuthentication(String realm,
                                                URL tracker)
Specified by:
getAuthentication in interface SEPasswordListener

setAuthenticationOutcome

public void setAuthenticationOutcome(String realm,
                                     URL tracker,
                                     boolean success)
Specified by:
setAuthenticationOutcome in interface SEPasswordListener

clearPasswords

public void clearPasswords()
Specified by:
clearPasswords in interface SEPasswordListener