Interface TRTrackerScraperClientResolver


public interface TRTrackerScraperClientResolver
  • Field Details

    • FL_NONE

      static final Character FL_NONE
    • FL_INCOMPLETE_STOPPED

      static final Character FL_INCOMPLETE_STOPPED
    • FL_INCOMPLETE_QUEUED

      static final Character FL_INCOMPLETE_QUEUED
    • FL_INCOMPLETE_RUNNING

      static final Character FL_INCOMPLETE_RUNNING
    • FL_COMPLETE_STOPPED

      static final Character FL_COMPLETE_STOPPED
    • FL_COMPLETE_QUEUED

      static final Character FL_COMPLETE_QUEUED
    • FL_COMPLETE_RUNNING

      static final Character FL_COMPLETE_RUNNING
  • Method Details

    • isScrapable

      boolean isScrapable(HashWrapper torrent_hash)
    • getCachedScrape

      int[] getCachedScrape(HashWrapper hash)
      Parameters:
      hash -
      Returns:
    • isNetworkEnabled

      boolean isNetworkEnabled(HashWrapper hash, URL url)
    • getEnabledNetworks

      String[] getEnabledNetworks(HashWrapper hash)
    • getExtensions

      Object[] getExtensions(HashWrapper hash)
      Two kinds of extensions: entry [0] = String (or null) that gets passed with the scrape verbotem after infohash entry [1] = Character - status of download, aggregated into a single String passed with scrape status flags are above FL_ values
      Parameters:
      hash -
      Returns:
    • redirectTrackerUrl

      boolean redirectTrackerUrl(HashWrapper hash, URL old_url, URL new_url)