Interface BandwidthEstimator

  • All Known Implementing Classes:
    SimpleBandwidthEstimator

    interface BandwidthEstimator
    A Westwood bandwidth estimator
    Since:
    0.9.46
    • Method Detail

      • addSample

        void addSample​(int acked)
        Records an arriving ack.
        Parameters:
        acked - how many packets were acked with this ack
      • getBandwidthEstimate

        float getBandwidthEstimate()
        Returns:
        the current bandwidth estimate in packets/ms.