Ejemplo n.º 1
0
  /**
   * Find out how many remote computers don't have any information that we need. Loops through our
   * connections for this torrent, counting those that are not interesting to us.
   *
   * @return The number of connections we have open, but aren't using
   */
  public int getBusyHostCount() {

    // Have the ManagedTorrent count our connections that have no data we need
    return _torrent.getNumBusyPeers();
  }