Class PingSpaceMon
java.lang.Object
com.biglybt.core.speedmanager.impl.v2.PingSpaceMon
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(PSMonitorListener listener) (package private) booleanstatic SpeedManagerLimitEstimateGet the estimated download capacity from the SpeedManager.static SpeedManagerLimitEstimateGet the current estimated download limit from the ping mapper.static SpeedManagerLimitEstimatestatic SpeedManagerLimitEstimategetUploadLimit(boolean persistent) Get the current estimated upload limit from the ping mapper.booleanremoveListener(PSMonitorListener listener) (package private) void(package private) booleanupdateStatus(TransferMode tMode)
-
Field Details
-
INTERVAL
private static final long INTERVAL- See Also:
-
nextCheck
long nextCheck -
mode
TransferMode mode -
listeners
-
-
Constructor Details
-
PingSpaceMon
public PingSpaceMon()
-
-
Method Details
-
addListener
-
removeListener
-
checkForLowerLimits
boolean checkForLowerLimits() -
updateStatus
- Parameters:
tMode- -- Returns:
- - true if is has a new mode, and the clock starts over.
-
resetTimer
void resetTimer() -
getUploadLimit
Get the current estimated upload limit from the ping mapper.- Returns:
- - SpeedManagerLimitEstimate.
-
getUploadEstCapacity
-
getDownloadLimit
Get the current estimated download limit from the ping mapper.- Returns:
- - SpeedManagerLimitEstimate
-
getDownloadEstCapacity
Get the estimated download capacity from the SpeedManager.- Returns:
- - SpeedManagerLimitEstimate
-