|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gudy.azureus2.pluginsimpl.local.download.DownloadScrapeResultImpl
public class DownloadScrapeResultImpl
| Field Summary | |
|---|---|
protected DownloadImpl |
download
|
protected TRTrackerScraperResponse |
response
|
| Fields inherited from interface org.gudy.azureus2.plugins.download.DownloadScrapeResult |
|---|
RT_ERROR, RT_SUCCESS |
| Constructor Summary | |
|---|---|
protected |
DownloadScrapeResultImpl(DownloadImpl _download,
TRTrackerScraperResponse _response)
|
| Method Summary | |
|---|---|
protected TRTrackerScraperResponse |
getCurrentResponse()
|
Download |
getDownload()
Gives access to the associated download |
long |
getNextScrapeStartTime()
|
int |
getNonSeedCount()
Gives the number of non-seeds returned by the scrape |
int |
getResponseType()
A scrape result can denote either a successful or failed scrape. |
long |
getScrapeStartTime()
|
int |
getSeedCount()
Gives the number of seeds returned by the scrape |
String |
getStatus()
returns a string representation of the scrape status |
URL |
getURL()
The URL for the tracker |
protected void |
setContent(TRTrackerScraperResponse _response)
|
void |
setNextScrapeStartTime(long nextScrapeStartTime)
Sets the next scrape time |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected DownloadImpl download
protected TRTrackerScraperResponse response
| Constructor Detail |
|---|
protected DownloadScrapeResultImpl(DownloadImpl _download,
TRTrackerScraperResponse _response)
| Method Detail |
|---|
protected void setContent(TRTrackerScraperResponse _response)
public Download getDownload()
DownloadScrapeResult
getDownload in interface DownloadScrapeResultpublic int getResponseType()
DownloadScrapeResult
getResponseType in interface DownloadScrapeResultpublic int getSeedCount()
DownloadScrapeResult
getSeedCount in interface DownloadScrapeResultpublic int getNonSeedCount()
DownloadScrapeResult
getNonSeedCount in interface DownloadScrapeResultpublic long getScrapeStartTime()
getScrapeStartTime in interface DownloadScrapeResultpublic void setNextScrapeStartTime(long nextScrapeStartTime)
DownloadScrapeResult
setNextScrapeStartTime in interface DownloadScrapeResultnextScrapeStartTime - time to start in milliseconds since epochpublic long getNextScrapeStartTime()
getNextScrapeStartTime in interface DownloadScrapeResultpublic String getStatus()
DownloadScrapeResult
getStatus in interface DownloadScrapeResultpublic URL getURL()
DownloadScrapeResult
getURL in interface DownloadScrapeResultprotected TRTrackerScraperResponse getCurrentResponse()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||