|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 DownloadScrapeResult
public int getResponseType()
DownloadScrapeResult
getResponseType
in interface DownloadScrapeResult
public int getSeedCount()
DownloadScrapeResult
getSeedCount
in interface DownloadScrapeResult
public int getNonSeedCount()
DownloadScrapeResult
getNonSeedCount
in interface DownloadScrapeResult
public long getScrapeStartTime()
getScrapeStartTime
in interface DownloadScrapeResult
public void setNextScrapeStartTime(long nextScrapeStartTime)
DownloadScrapeResult
setNextScrapeStartTime
in interface DownloadScrapeResult
nextScrapeStartTime
- time to start in milliseconds since epochpublic long getNextScrapeStartTime()
getNextScrapeStartTime
in interface DownloadScrapeResult
public String getStatus()
DownloadScrapeResult
getStatus
in interface DownloadScrapeResult
public URL getURL()
DownloadScrapeResult
getURL
in interface DownloadScrapeResult
protected TRTrackerScraperResponse getCurrentResponse()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |