Package com.biglybt.pif.download
Interface DownloadScrapeResult
-
- All Known Implementing Classes:
DownloadImpl.AggregateScrapeResult
,DownloadScrapeResultImpl
,RPDownloadScrapeResult
public interface DownloadScrapeResult
-
-
Field Summary
Fields Modifier and Type Field Description static int
RT_ERROR
static int
RT_SUCCESS
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Download
getDownload()
Gives access to the associated downloadlong
getNextScrapeStartTime()
int
getNonSeedCount()
Gives the number of non-seeds returned by the scrapeint
getResponseType()
A scrape result can denote either a successful or failed scrape.long
getScrapeStartTime()
int
getSeedCount()
Gives the number of seeds returned by the scrapejava.lang.String
getStatus()
returns a string representation of the scrape statusjava.net.URL
getURL()
The URL for the trackervoid
setNextScrapeStartTime(long nextScrapeStartTime)
Sets the next scrape time
-
-
-
Field Detail
-
RT_SUCCESS
static final int RT_SUCCESS
- See Also:
- Constant Field Values
-
RT_ERROR
static final int RT_ERROR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDownload
Download getDownload()
Gives access to the associated download- Returns:
- Since:
- 2.0.7.0
-
getResponseType
int getResponseType()
A scrape result can denote either a successful or failed scrape.- Returns:
- RT_SUCCESS or RT_ERROR
- Since:
- 2.0.7.0
-
getSeedCount
int getSeedCount()
Gives the number of seeds returned by the scrape- Returns:
- Since:
- 2.0.7.0
-
getNonSeedCount
int getNonSeedCount()
Gives the number of non-seeds returned by the scrape- Returns:
- Since:
- 2.0.7.0
-
getScrapeStartTime
long getScrapeStartTime()
-
setNextScrapeStartTime
void setNextScrapeStartTime(long nextScrapeStartTime)
Sets the next scrape time- Parameters:
nextScrapeStartTime
- time to start in milliseconds since epoch- Since:
- 2.1.0.2
-
getNextScrapeStartTime
long getNextScrapeStartTime()
-
getStatus
java.lang.String getStatus()
returns a string representation of the scrape status- Returns:
- Since:
- 2.1.0.4
-
getURL
java.net.URL getURL()
The URL for the tracker- Returns:
-
-