com.aelitis.azureus.core.speedmanager
Interface SpeedManager

All Known Implementing Classes:
SpeedManagerImpl

public interface SpeedManager


Method Summary
 void addListener(SpeedManagerListener l)
           
 SpeedManagerPingMapper getActiveMapper()
           
 String getASN()
           
 SpeedManagerLimitEstimate getEstimatedDownloadCapacityBytesPerSec()
           
 SpeedManagerLimitEstimate getEstimatedUploadCapacityBytesPerSec()
           
 SpeedManagerPingMapper[] getMappers()
           
 SpeedManagerPingSource[] getPingSources()
           
 DHTSpeedTester getSpeedTester()
           
 boolean isAvailable()
           
 boolean isEnabled()
           
 void removeListener(SpeedManagerListener l)
           
 void reset()
           
 void setEnabled(boolean enabled)
           
 void setEstimatedDownloadCapacityBytesPerSec(int bytes_per_sec, float estimate_type)
           
 void setEstimatedUploadCapacityBytesPerSec(int bytes_per_sec, float estimate_type)
           
 void setSpeedTester(DHTSpeedTester tester)
           
 

Method Detail

isAvailable

boolean isAvailable()

setEnabled

void setEnabled(boolean enabled)

isEnabled

boolean isEnabled()

getASN

String getASN()

getEstimatedUploadCapacityBytesPerSec

SpeedManagerLimitEstimate getEstimatedUploadCapacityBytesPerSec()

setEstimatedUploadCapacityBytesPerSec

void setEstimatedUploadCapacityBytesPerSec(int bytes_per_sec,
                                           float estimate_type)
Parameters:
bytes_per_sec -
rating - see constants above for help

getEstimatedDownloadCapacityBytesPerSec

SpeedManagerLimitEstimate getEstimatedDownloadCapacityBytesPerSec()

setEstimatedDownloadCapacityBytesPerSec

void setEstimatedDownloadCapacityBytesPerSec(int bytes_per_sec,
                                             float estimate_type)

setSpeedTester

void setSpeedTester(DHTSpeedTester tester)

getSpeedTester

DHTSpeedTester getSpeedTester()

getPingSources

SpeedManagerPingSource[] getPingSources()

getActiveMapper

SpeedManagerPingMapper getActiveMapper()

getMappers

SpeedManagerPingMapper[] getMappers()

reset

void reset()

addListener

void addListener(SpeedManagerListener l)

removeListener

void removeListener(SpeedManagerListener l)