Class AnnounceInfohash
java.lang.Object
com.frostwire.jlibtorrent.AnnounceInfohash
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionshortfails()The number of times in a row we have failed to announce to this tracker.booleanReturns true if the last time we tried to announce to this tracker succeeded, or if we haven't tried yet.message()If this tracker has returned an error or warning message that message is stored here.booleanupdating()Returns true while we're waiting for a response from the tracker.
-
Constructor Details
-
AnnounceInfohash
-
-
Method Details
-
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.
-