FileDocCategorySizeDatePackage
TRTrackerBTScraperResponseImpl.javaAPI DocAzureus 3.0.3.42369Sun Jul 16 03:35:20 BST 2006org.gudy.azureus2.core3.tracker.client.impl.bt

TRTrackerBTScraperResponseImpl

public class TRTrackerBTScraperResponseImpl extends org.gudy.azureus2.core3.tracker.client.impl.TRTrackerScraperResponseImpl
author
parg

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 TrackerStatusgetTrackerStatus()

	    return ts;
	  
public java.net.URLgetURL()

	  	return( ts.getTrackerURL());
	  
public voidsetSeedsPeers(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);