All Known Implementing Classes:
SimpleBandwidthEstimator, SimpleBandwidthEstimator, SyntheticREDQueue

public interface BandwidthEstimator
A Westwood bandwidth estimator.
  • Method Summary

    All Methods
    Modifier and Type
    Method
    Description
    void
    addSample(int acked)
    Records an arriving ack.
    float
    Current 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