|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SourceRanker
Interface for classes that rank available download sources.
| Method Summary | |
|---|---|
RangeDownloader |
getBestSource()
Gets the best available source to download from. |
boolean |
hasMoreSources()
Returns whether or not this ranker has more sources to download from. |
void |
onAvailable(RangeDownloader downloader)
Notifies the ranker that the given source is available for work. |
void |
onFailed()
|
| Method Detail |
|---|
boolean hasMoreSources()
true if this ranker has more sources, otherwise
false.RangeDownloader getBestSource()
void onAvailable(RangeDownloader downloader)
downloader - The available downloader.void onFailed()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||