|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gudy.azureus2.pluginsimpl.remote.RPObject org.gudy.azureus2.pluginsimpl.remote.download.RPDownloadAnnounceResult
public class RPDownloadAnnounceResult
Field Summary | |
---|---|
protected DownloadAnnounceResult |
delegate
|
int |
non_seed_count
|
int |
seed_count
|
Fields inherited from class org.gudy.azureus2.pluginsimpl.remote.RPObject |
---|
__delegate, _dispatcher, _object_id, next_key, object_registry, object_registry_reverse |
Fields inherited from interface org.gudy.azureus2.plugins.download.DownloadAnnounceResult |
---|
RT_ERROR, RT_SUCCESS |
Constructor Summary | |
---|---|
protected |
RPDownloadAnnounceResult(DownloadAnnounceResult _delegate)
|
Method Summary | |
---|---|
RPReply |
_process(RPRequest request)
|
protected void |
_setDelegate(Object _delegate)
|
Object |
_setLocal()
|
static RPDownloadAnnounceResult |
create(DownloadAnnounceResult _delegate)
|
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. |
Methods inherited from class org.gudy.azureus2.pluginsimpl.remote.RPObject |
---|
_fixupLocal, _getDelegate, _getName, _getOID, _lookupLocal, _lookupLocal, _refresh, _setRemote, getDispatcher, notSupported, notSupported |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient DownloadAnnounceResult delegate
public int seed_count
public int non_seed_count
Constructor Detail |
---|
protected RPDownloadAnnounceResult(DownloadAnnounceResult _delegate)
Method Detail |
---|
public static RPDownloadAnnounceResult create(DownloadAnnounceResult _delegate)
protected void _setDelegate(Object _delegate)
_setDelegate
in class RPObject
public Object _setLocal() throws RPException
_setLocal
in class RPObject
RPException
public RPReply _process(RPRequest request)
_process
in class RPObject
public Download getDownload()
DownloadAnnounceResult
getDownload
in interface DownloadAnnounceResult
public int getResponseType()
DownloadAnnounceResult
getResponseType
in interface DownloadAnnounceResult
public int getReportedPeerCount()
DownloadAnnounceResult
getReportedPeerCount
in interface DownloadAnnounceResult
public int getSeedCount()
DownloadAnnounceResult
getSeedCount
in interface DownloadAnnounceResult
public int getNonSeedCount()
DownloadAnnounceResult
getNonSeedCount
in interface DownloadAnnounceResult
public String getError()
DownloadAnnounceResult
getError
in interface DownloadAnnounceResult
public URL getURL()
DownloadAnnounceResult
getURL
in interface DownloadAnnounceResult
public DownloadAnnounceResultPeer[] getPeers()
getPeers
in interface DownloadAnnounceResult
public long getTimeToWait()
getTimeToWait
in interface DownloadAnnounceResult
public Map getExtensions()
getExtensions
in interface DownloadAnnounceResult
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |