Methods Summary |
---|
protected TRTrackerScraperResponse | getCurrentResponse()
TRTrackerScraperResponse current = download.getDownload().getTrackerScrapeResponse();
if ( current == null ){
current = response;
}
return( current );
|
public org.gudy.azureus2.plugins.download.Download | getDownload()
return( download );
|
public long | getNextScrapeStartTime()
// some weirdness going on here as we're not reporting the current values correctly
// so quick hack to base this on the current
TRTrackerScraperResponse current_response = getCurrentResponse();
return( current_response == null?-1:current_response.getNextScrapeStartTime());
|
public int | getNonSeedCount()
return( response==null?-1:response.getPeers());
|
public int | getResponseType()
if ( response != null && response.isValid()){
return( RT_SUCCESS );
}else{
return( RT_ERROR );
}
|
public long | getScrapeStartTime()
return( response==null?-1:response.getScrapeStartTime());
|
public int | getSeedCount()
return( response==null?-1:response.getSeeds());
|
public java.lang.String | getStatus()
if ( response != null ){
return( response.getStatusString());
}
return("");
|
public java.net.URL | getURL()
if (response != null) {
return( response.getURL());
}
return null;
|
protected void | setContent(TRTrackerScraperResponse _response)
response = _response;
|
public void | setNextScrapeStartTime(long nextScrapeStartTime)
TRTrackerScraperResponse current_response = getCurrentResponse();
if (current_response != null){
current_response.setNextScrapeStartTime(nextScrapeStartTime);
}
|