Interface TrackerPeerSource

All Known Implementing Classes:
TrackerPeerSourceAdapter

public interface TrackerPeerSource
  • Field Details

  • Method Details

    • getType

      int getType()
    • getName

      String getName()
    • getDetails

      String getDetails()
    • getStatus

      int getStatus()
    • getStatusString

      String getStatusString()
    • getSeedCount

      int getSeedCount()
    • getLeecherCount

      int getLeecherCount()
    • getURL

      URL getURL()
      Returns:
      URL associated with this source, if there is one, null otherwise
    • getPeers

      int getPeers()
    • getCompletedCount

      int getCompletedCount()
      If the tracker source supports 'number downloads completed' this will be >= 0
      Returns:
    • getLastUpdate

      int getLastUpdate()
    • getSecondsToUpdate

      int getSecondsToUpdate()
      Returns:
      Integer.MIN_VAL -> no details available
    • getInterval

      int getInterval()
    • getMinInterval

      int getMinInterval()
    • isUpdating

      boolean isUpdating()
    • canManuallyUpdate

      boolean canManuallyUpdate()
    • manualUpdate

      void manualUpdate()
    • getReportedStats

      long[] getReportedStats()
    • canDelete

      boolean canDelete()
    • delete

      void delete()