|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gudy.azureus2.pluginsimpl.local.tracker.TrackerTorrentImpl
public class TrackerTorrentImpl
| Field Summary | |
|---|---|
protected TRHostTorrent |
host_torrent
|
protected List |
listeners_cow
|
protected List |
removal_listeners
|
protected AEMonitor |
this_mon
|
| Fields inherited from interface org.gudy.azureus2.plugins.tracker.TrackerTorrent |
|---|
TS_PUBLISHED, TS_STARTED, TS_STOPPED |
| Constructor Summary | |
|---|---|
TrackerTorrentImpl(TRHostTorrent _host_torrent)
|
|
| Method Summary | |
|---|---|
void |
addListener(TrackerTorrentListener listener)
|
void |
addRemovalListener(TrackerTorrentWillBeRemovedListener listener)
|
boolean |
canBeRemoved()
|
void |
disableReplyCaching()
stops the tracker from caching replies to announces/scrapes for this torrent |
boolean |
equals(Object other)
|
long |
getAnnounceCount()
|
long |
getAverageAnnounceCount()
|
long |
getAverageBytesIn()
average rate of bytes in |
long |
getAverageBytesOut()
average bytes sent |
long |
getAverageDownloaded()
|
long |
getAverageScrapeCount()
|
long |
getAverageUploaded()
|
int |
getBadNATCount()
Gives access to the number of peers that have failed NAT checks, 0 if NAT checking is disabled. |
long |
getCompletedCount()
|
long |
getDateAdded()
|
TRHostTorrent |
getHostTorrent()
|
int |
getLeecherCount()
|
TrackerPeer[] |
getPeers()
|
long |
getScrapeCount()
|
int |
getSeedCount()
|
int |
getStatus()
|
Torrent |
getTorrent()
|
long |
getTotalBytesIn()
total bytes received by the tracker for this torrent - announce and scrape requests |
long |
getTotalBytesOut()
total bytes sent as response by the tracker - announce and scrape responses |
long |
getTotalDownloaded()
|
long |
getTotalLeft()
|
long |
getTotalUploaded()
|
int |
hashCode()
|
boolean |
isPassive()
|
void |
postProcess(TRHostTorrentRequest request)
|
void |
preProcess(TRHostTorrentRequest request)
|
void |
remove()
|
void |
removeListener(TrackerTorrentListener listener)
|
void |
removeRemovalListener(TrackerTorrentWillBeRemovedListener listener)
|
void |
start()
|
void |
stop()
|
void |
torrentWillBeRemoved(TRHostTorrent t)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected TRHostTorrent host_torrent
protected List listeners_cow
protected List removal_listeners
protected AEMonitor this_mon
| Constructor Detail |
|---|
public TrackerTorrentImpl(TRHostTorrent _host_torrent)
| Method Detail |
|---|
public TRHostTorrent getHostTorrent()
public void start()
throws TrackerException
start in interface TrackerTorrentTrackerException
public void stop()
throws TrackerException
stop in interface TrackerTorrentTrackerException
public void remove()
throws TrackerTorrentRemovalVetoException
remove in interface TrackerTorrentTrackerTorrentRemovalVetoException
public boolean canBeRemoved()
throws TrackerTorrentRemovalVetoException
canBeRemoved in interface TrackerTorrentTrackerTorrentRemovalVetoExceptionpublic Torrent getTorrent()
getTorrent in interface TrackerTorrentpublic TrackerPeer[] getPeers()
getPeers in interface TrackerTorrentpublic int getStatus()
getStatus in interface TrackerTorrentpublic long getTotalUploaded()
getTotalUploaded in interface TrackerTorrentpublic long getTotalDownloaded()
getTotalDownloaded in interface TrackerTorrentpublic long getAverageUploaded()
getAverageUploaded in interface TrackerTorrentpublic long getAverageDownloaded()
getAverageDownloaded in interface TrackerTorrentpublic long getTotalLeft()
getTotalLeft in interface TrackerTorrentpublic long getCompletedCount()
getCompletedCount in interface TrackerTorrentpublic long getTotalBytesIn()
TrackerTorrent
getTotalBytesIn in interface TrackerTorrentpublic long getAverageBytesIn()
TrackerTorrent
getAverageBytesIn in interface TrackerTorrentpublic long getTotalBytesOut()
TrackerTorrent
getTotalBytesOut in interface TrackerTorrentpublic long getAverageBytesOut()
TrackerTorrent
getAverageBytesOut in interface TrackerTorrentpublic long getAverageScrapeCount()
getAverageScrapeCount in interface TrackerTorrentpublic long getScrapeCount()
getScrapeCount in interface TrackerTorrentpublic long getAverageAnnounceCount()
getAverageAnnounceCount in interface TrackerTorrentpublic long getAnnounceCount()
getAnnounceCount in interface TrackerTorrentpublic int getSeedCount()
getSeedCount in interface TrackerTorrentpublic int getLeecherCount()
getLeecherCount in interface TrackerTorrentpublic int getBadNATCount()
TrackerTorrent
getBadNATCount in interface TrackerTorrentpublic void disableReplyCaching()
TrackerTorrent
disableReplyCaching in interface TrackerTorrentpublic boolean isPassive()
isPassive in interface TrackerTorrentpublic long getDateAdded()
getDateAdded in interface TrackerTorrent
public void preProcess(TRHostTorrentRequest request)
throws TRHostException
preProcess in interface TRHostTorrentListenerTRHostException
public void postProcess(TRHostTorrentRequest request)
throws TRHostException
postProcess in interface TRHostTorrentListenerTRHostExceptionpublic void addListener(TrackerTorrentListener listener)
addListener in interface TrackerTorrentpublic void removeListener(TrackerTorrentListener listener)
removeListener in interface TrackerTorrent
public void torrentWillBeRemoved(TRHostTorrent t)
throws TRHostTorrentRemovalVetoException
torrentWillBeRemoved in interface TRHostTorrentWillBeRemovedListenerTRHostTorrentRemovalVetoExceptionpublic void addRemovalListener(TrackerTorrentWillBeRemovedListener listener)
addRemovalListener in interface TrackerTorrentpublic void removeRemovalListener(TrackerTorrentWillBeRemovedListener listener)
removeRemovalListener in interface TrackerTorrentpublic boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||