|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DownloadAnnounceResult
| Field Summary | |
|---|---|
static int |
RT_ERROR
|
static int |
RT_SUCCESS
|
| Method Summary | |
|---|---|
Download |
getDownload()
Gives access to the Download associated with this announce result |
String |
getError()
For RT_ERROR this gives error details |
Map |
getExtensions()
|
int |
getNonSeedCount()
This method gives the number of non-seeds (peers) we know about |
DownloadAnnounceResultPeer[] |
getPeers()
|
int |
getReportedPeerCount()
For RT_SUCCESS this gives the number of peers returned by the tracker |
int |
getResponseType()
The response may represent a successful or failed announce |
int |
getSeedCount()
This method gives the number of seeds we know about (and may have received from a succession of announces). |
long |
getTimeToWait()
|
URL |
getURL()
The URL for the tracker. |
| Field Detail |
|---|
static final int RT_SUCCESS
static final int RT_ERROR
| Method Detail |
|---|
Download getDownload()
int getResponseType()
int getReportedPeerCount()
int getSeedCount()
int getNonSeedCount()
String getError()
URL getURL()
DownloadAnnounceResultPeer[] getPeers()
long getTimeToWait()
Map getExtensions()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||