Ejemplo n.º 1
0
  /**
   * Find out how fast we are downloading data for this torrent right now.
   *
   * @return The speed, in KB/s
   */
  public float getMeasuredBandwidth() {

    // Have our SimpleBandwidthTracker update its current speed right now
    measureBandwidth();

    // Get the current speed our SimpleBandwidthTracker has calculated
    return _tracker.getMeasuredBandwidth();
  }