com.aelitis.azureus.plugins.extseed.util
Interface ExternalSeedHTTPDownloader

All Known Implementing Classes:
ExternalSeedHTTPDownloaderLinear, ExternalSeedHTTPDownloaderRange

public interface ExternalSeedHTTPDownloader


Method Summary
 void deactivate()
           
 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 getLast503RetrySecs()
           
 int getLastResponse()
           
 

Method Detail

download

void download(int length,
              ExternalSeedHTTPDownloaderListener listener,
              boolean con_fail_is_perm_fail)
              throws ExternalSeedException
Throws:
ExternalSeedException

downloadRange

void downloadRange(long offset,
                   int length,
                   ExternalSeedHTTPDownloaderListener listener,
                   boolean con_fail_is_perm_fail)
                   throws ExternalSeedException
Throws:
ExternalSeedException

downloadSocket

void downloadSocket(int length,
                    ExternalSeedHTTPDownloaderListener listener,
                    boolean con_fail_is_perm_fail)
                    throws ExternalSeedException
Throws:
ExternalSeedException

getLastResponse

int getLastResponse()

getLast503RetrySecs

int getLast503RetrySecs()

deactivate

void deactivate()