org.gudy.azureus2.core3.tracker.client
Interface TRTrackerAnnouncerResponse
- All Known Implementing Classes:
- TRTrackerAnnouncerResponseImpl
public interface TRTrackerAnnouncerResponse
ST_OFFLINE
static final int ST_OFFLINE
- See Also:
- Constant Field Values
ST_REPORTED_ERROR
static final int ST_REPORTED_ERROR
- See Also:
- Constant Field Values
ST_ONLINE
static final int ST_ONLINE
- See Also:
- Constant Field Values
getStatus
int getStatus()
- Returns the current status of the tracker
- Returns:
- see above ST_ set
getStatusString
java.lang.String getStatusString()
getHash
HashWrapper getHash()
getTimeToWait
long getTimeToWait()
- This value is always available
- Returns:
- time to wait before requerying tracker
getAdditionalInfo
java.lang.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
void setPeers(TRTrackerAnnouncerResponsePeer[] peers)
getExtensions
java.util.Map getExtensions()
getURL
java.net.URL getURL()
getScrapeCompleteCount
int getScrapeCompleteCount()
getScrapeIncompleteCount
int getScrapeIncompleteCount()
getScrapeDownloadedCount
int getScrapeDownloadedCount()
print
void print()