- All Known Implementing Classes:
SimpleBandwidthEstimator, SimpleBandwidthEstimator, SyntheticREDQueue
public interface BandwidthEstimator
A Westwood bandwidth estimator.
Method Summary
All MethodsModifier and TypeMethodDescriptionvoidaddSample(int acked) Records an arriving ack.floatCurrent bandwidth estimate.
Method Details
addSample
void addSample(int acked) Records an arriving ack.- Parameters:
acked- how many bytes or packets were acked with this ack
getBandwidthEstimate
float getBandwidthEstimate()Current bandwidth estimate.- Returns:
- the current bandwidth estimate in bytes/ms or packets/ms