org.gudy.azureus2.core3.tracker.client
Interface TRTrackerScraperClientResolver


public interface TRTrackerScraperClientResolver

Author:
parg

Field Summary
static Character FL_COMPLETE_QUEUED
           
static Character FL_COMPLETE_RUNNING
           
static Character FL_COMPLETE_STOPPED
           
static Character FL_INCOMPLETE_QUEUED
           
static Character FL_INCOMPLETE_RUNNING
           
static Character FL_INCOMPLETE_STOPPED
           
static Character FL_NONE
           
 
Method Summary
 int[] getCachedScrape(HashWrapper hash)
           
 String[] getEnabledNetworks(HashWrapper hash)
           
 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
 boolean isNetworkEnabled(HashWrapper hash, URL url)
           
 boolean isScrapable(HashWrapper torrent_hash)
           
 boolean redirectTrackerUrl(HashWrapper hash, URL old_url, URL new_url)
           
 

Field Detail

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 Detail

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)