com.aelitis.azureus.core.speedmanager
Interface SpeedManager
- All Known Implementing Classes:
- SpeedManagerImpl
public interface SpeedManager
isAvailable
boolean isAvailable()
setEnabled
void setEnabled(boolean enabled)
isEnabled
boolean isEnabled()
getASN
java.lang.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)