Class RPDownloadScrapeResult
java.lang.Object
com.biglybt.pifimpl.remote.RPObject
com.biglybt.pifimpl.remote.download.RPDownloadScrapeResult
- All Implemented Interfaces:
DownloadScrapeResult, Serializable
- See Also:
-
Field Summary
FieldsFields inherited from class RPObject
__delegate, _dispatcher, _object_id, next_key, object_registry, object_registry_reverseFields inherited from interface DownloadScrapeResult
RT_ERROR, RT_SUCCESS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void_setDelegate(Object _delegate) static RPDownloadScrapeResultcreate(DownloadScrapeResult _delegate) Gives access to the associated downloadlongintGives the number of non-seeds returned by the scrapeintA scrape result can denote either a successful or failed scrape.longintGives the number of seeds returned by the scrapereturns a string representation of the scrape statusgetURL()The URL for the trackervoidsetNextScrapeStartTime(long nextScrapeStartTime) Sets the next scrape timeMethods inherited from class RPObject
_fixupLocal, _getDelegate, _getName, _getOID, _lookupLocal, _lookupLocal, _refresh, _setRemote, getDispatcher, notSupported, notSupported
-
Field Details
-
delegate
-
seed_count
public int seed_count -
non_seed_count
public int non_seed_count
-
-
Constructor Details
-
RPDownloadScrapeResult
-
-
Method Details
-
create
-
_setDelegate
- Overrides:
_setDelegatein classRPObject
-
_setLocal
- Overrides:
_setLocalin classRPObject- Throws:
RPException
-
_process
-
getDownload
Description copied from interface:DownloadScrapeResultGives access to the associated download- Specified by:
getDownloadin interfaceDownloadScrapeResult- Returns:
-
getResponseType
public int getResponseType()Description copied from interface:DownloadScrapeResultA scrape result can denote either a successful or failed scrape.- Specified by:
getResponseTypein interfaceDownloadScrapeResult- Returns:
- RT_SUCCESS or RT_ERROR
-
getSeedCount
public int getSeedCount()Description copied from interface:DownloadScrapeResultGives the number of seeds returned by the scrape- Specified by:
getSeedCountin interfaceDownloadScrapeResult- Returns:
-
getNonSeedCount
public int getNonSeedCount()Description copied from interface:DownloadScrapeResultGives the number of non-seeds returned by the scrape- Specified by:
getNonSeedCountin interfaceDownloadScrapeResult- Returns:
-
getScrapeStartTime
public long getScrapeStartTime()- Specified by:
getScrapeStartTimein interfaceDownloadScrapeResult
-
setNextScrapeStartTime
public void setNextScrapeStartTime(long nextScrapeStartTime) Description copied from interface:DownloadScrapeResultSets the next scrape time- Specified by:
setNextScrapeStartTimein interfaceDownloadScrapeResult- Parameters:
nextScrapeStartTime- time to start in milliseconds since epoch
-
getNextScrapeStartTime
public long getNextScrapeStartTime()- Specified by:
getNextScrapeStartTimein interfaceDownloadScrapeResult
-
getStatus
Description copied from interface:DownloadScrapeResultreturns a string representation of the scrape status- Specified by:
getStatusin interfaceDownloadScrapeResult- Returns:
-
getURL
Description copied from interface:DownloadScrapeResultThe URL for the tracker- Specified by:
getURLin interfaceDownloadScrapeResult- Returns:
-