Interface TRTrackerAnnouncerResponse

All Known Implementing Classes:
TRTrackerAnnouncerResponseImpl

public interface TRTrackerAnnouncerResponse
  • Field Details

  • Method Details

    • getStatus

      int getStatus()
      Returns the current status of the tracker
      Returns:
      see above ST_ set
    • getStatusString

      String getStatusString()
    • getHash

      HashWrapper getHash()
    • getRequest

    • getTimeToWait

      long getTimeToWait()
      This value is always available
      Returns:
      time to wait before requerying tracker
    • getAdditionalInfo

      String getAdditionalInfo()
      Returns any additional textual information associated with reponse. If the status is ST_REPORTED_ERROR, this will return the error description (possibly directly from the tracker).
      Returns:
      Additional information
    • getPeers

      Returns:
      peers reported by tracker. this will include the local peer as well
    • setPeers

      void setPeers(TRTrackerAnnouncerResponsePeer[] peers)
    • getExtensions

      Map getExtensions()
    • getURL

      URL getURL()
    • getScrapeCompleteCount

      int getScrapeCompleteCount()
    • getScrapeIncompleteCount

      int getScrapeIncompleteCount()
    • getScrapeDownloadedCount

      int getScrapeDownloadedCount()
    • print

      void print()