TRTrackerBTScraperResponseImplpublic class TRTrackerBTScraperResponseImpl extends org.gudy.azureus2.core3.tracker.client.impl.TRTrackerScraperResponseImpl
Fields Summary |
---|
private TrackerStatus | ts |
Constructors Summary |
---|
protected TRTrackerBTScraperResponseImpl(TrackerStatus _ts, org.gudy.azureus2.core3.util.HashWrapper _hash)
this(_ts, _hash, -1, -1, -1);
| protected TRTrackerBTScraperResponseImpl(TrackerStatus _ts, org.gudy.azureus2.core3.util.HashWrapper _hash, int _seeds, int _peers, long _scrapeStartTime)
super( _hash, _seeds, _peers, _scrapeStartTime );
ts = _ts;
|
Methods Summary |
---|
public TrackerStatus | getTrackerStatus()
return ts;
| public java.net.URL | getURL()
return( ts.getTrackerURL());
| public void | setSeedsPeers(int iSeeds, int iPeers)
setSeeds( iSeeds );
setPeers( iPeers );
if (isValid()){
setStatus(TRTrackerScraperResponse.ST_ONLINE);
setStatus( MessageText.getString("Scrape.status.ok"));
} else {
setStatus(TRTrackerScraperResponse.ST_INITIALIZING);
}
// XXX Is this a good idea?
ts.scrapeReceived(this);
|
|