Package com.biglybt.core.tracker.client
Interface TRTrackerAnnouncerResponse
- All Known Implementing Classes:
TRTrackerAnnouncerResponseImpl
public interface TRTrackerAnnouncerResponse
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
-
Method Summary
-
Field Details
-
ST_OFFLINE
static final int ST_OFFLINE- See Also:
-
ST_REPORTED_ERROR
static final int ST_REPORTED_ERROR- See Also:
-
ST_ONLINE
static final int ST_ONLINE- See Also:
-
-
Method Details
-
getStatus
int getStatus()Returns the current status of the tracker- Returns:
- see above ST_ set
-
getStatusString
String getStatusString() -
getHash
HashWrapper getHash() -
getRequest
TRTrackerAnnouncerRequest 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
TRTrackerAnnouncerResponsePeer[] getPeers()- Returns:
- peers reported by tracker. this will include the local peer as well
-
setPeers
-
getExtensions
Map getExtensions() -
getURL
URL getURL() -
getScrapeCompleteCount
int getScrapeCompleteCount() -
getScrapeIncompleteCount
int getScrapeIncompleteCount() -
getScrapeDownloadedCount
int getScrapeDownloadedCount() -
print
void print()
-