Class AnnounceInfohash

java.lang.Object
com.frostwire.jlibtorrent.AnnounceInfohash

public class AnnounceInfohash extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    short
    The number of times in a row we have failed to announce to this tracker.
    boolean
    Returns true if the last time we tried to announce to this tracker succeeded, or if we haven't tried yet.
    If this tracker has returned an error or warning message that message is stored here.
    boolean
    Returns true while we're waiting for a response from the tracker.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • message

      public String message()
      If this tracker has returned an error or warning message that message is stored here.
      Returns:
      the error or warning message
    • fails

      public short fails()
      The number of times in a row we have failed to announce to this tracker.
      Returns:
      number of announce fails
    • updating

      public boolean updating()
      Returns true while we're waiting for a response from the tracker.
      Returns:
      true if waiting
    • isWorking

      public boolean isWorking()
      Returns true if the last time we tried to announce to this tracker succeeded, or if we haven't tried yet.