org.gudy.azureus2.core3.tracker.client.impl
Class TRTrackerAnnouncerMuxer
java.lang.Object
org.gudy.azureus2.core3.tracker.client.impl.TRTrackerAnnouncerImpl
org.gudy.azureus2.core3.tracker.client.impl.TRTrackerAnnouncerMuxer
- All Implemented Interfaces:
- TRTrackerAnnouncer
public class TRTrackerAnnouncerMuxer
- extends TRTrackerAnnouncerImpl
Methods inherited from class org.gudy.azureus2.core3.tracker.client.impl.TRTrackerAnnouncerImpl |
addListener, addToTrackerCache, exportTrackerCache, getAnonymousPeerId, getCacheTrackerPeerSource, getHelper, getPeerId, getPeersFromCache, getTorrent, getTrackerResponseCache, importTrackerCache, informURLRefresh, mergeResponseCache, removeFromTrackerResponseCache, removeListener, setTrackerResponseCache |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRTrackerAnnouncerMuxer
protected TRTrackerAnnouncerMuxer(TOTorrent _torrent,
TRTrackerAnnouncerFactory.DataProvider _f_provider,
boolean _manual)
throws TRTrackerAnnouncerException
- Throws:
TRTrackerAnnouncerException
split
protected void split(boolean first_time)
throws TRTrackerAnnouncerException
- Throws:
TRTrackerAnnouncerException
setupActivationCheck
protected void setupActivationCheck(int delay)
checkActivation
protected void checkActivation(boolean force)
forceStop
protected void forceStop(TRTrackerBTAnnouncerImpl announcer,
java.lang.String[] networks,
java.net.URL url)
getLastResponse
public TRTrackerAnnouncerResponse getLastResponse()
informResponse
protected void informResponse(TRTrackerAnnouncerHelper helper,
TRTrackerAnnouncerResponse response)
- Overrides:
informResponse
in class TRTrackerAnnouncerImpl
isManual
public boolean isManual()
setAnnounceDataProvider
public void setAnnounceDataProvider(TRTrackerAnnouncerDataProvider _provider)
getBestActive
protected TRTrackerAnnouncerHelper getBestActive()
getBestActiveSupport
protected TRTrackerAnnouncerHelper getBestActiveSupport()
getTrackerURL
public java.net.URL getTrackerURL()
setTrackerURL
public void setTrackerURL(java.net.URL url)
resetTrackerUrl
public void resetTrackerUrl(boolean shuffle)
setIPOverride
public void setIPOverride(java.lang.String override)
clearIPOverride
public void clearIPOverride()
setRefreshDelayOverrides
public void setRefreshDelayOverrides(int percentage)
getTimeUntilNextUpdate
public int getTimeUntilNextUpdate()
getLastUpdateTime
public int getLastUpdateTime()
- Description copied from interface:
TRTrackerAnnouncer
- Last Update Time in seconds
update
public void update(boolean force)
complete
public void complete(boolean already_reported)
stop
public void stop(boolean for_queue)
destroy
public void destroy()
getStatus
public int getStatus()
getStatusString
public java.lang.String getStatusString()
getBestAnnouncer
public TRTrackerAnnouncer getBestAnnouncer()
refreshListeners
public void refreshListeners()
- Description copied from interface:
TRTrackerAnnouncer
- This method forces all listeners to get an explicit "urlChanged" event to get them
to re-examine the tracker
setAnnounceResult
public void setAnnounceResult(DownloadAnnounceResult result)
getPeerCacheLimit
protected int getPeerCacheLimit()
- Specified by:
getPeerCacheLimit
in class TRTrackerAnnouncerImpl
getTrackerPeerSource
public TrackerPeerSource getTrackerPeerSource(TOTorrentAnnounceURLSet set)
- Description copied from interface:
TRTrackerAnnouncer
- Gets a delegate tracker peer source for reporting against
- Returns:
generateEvidence
public void generateEvidence(IndentWriter writer)