FileDocCategorySizeDatePackage
TestPingSourceRandom.javaAPI DocAzureus 3.0.3.41465Wed Aug 08 09:41:18 BST 2007com.aelitis.azureus.core.speedmanager.impl

TestPingSourceRandom

public class TestPingSourceRandom extends TestPingSourceImpl

Fields Summary
private Random
random
Constructors Summary
protected TestPingSourceRandom(SpeedManagerAlgorithmProviderAdapter adapter)

	
	
	
			 
	
		super( adapter );
	
Methods Summary
protected voidupdateSources(testSource[] sources)

		for (int i=0;i<sources.length;i++){
			
			sources[i].setRTT( random.nextInt( 500 ));
		}