|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gudy.azureus2.pluginsimpl.local.tracker.TrackerTorrentImpl
public class TrackerTorrentImpl
Field Summary | |
---|---|
protected TRHostTorrent |
host_torrent
|
protected java.util.List |
listeners_cow
|
protected java.util.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(java.lang.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 java.util.List listeners_cow
protected java.util.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 TrackerTorrent
TrackerException
public void stop() throws TrackerException
stop
in interface TrackerTorrent
TrackerException
public void remove() throws TrackerTorrentRemovalVetoException
remove
in interface TrackerTorrent
TrackerTorrentRemovalVetoException
public boolean canBeRemoved() throws TrackerTorrentRemovalVetoException
canBeRemoved
in interface TrackerTorrent
TrackerTorrentRemovalVetoException
public Torrent getTorrent()
getTorrent
in interface TrackerTorrent
public TrackerPeer[] getPeers()
getPeers
in interface TrackerTorrent
public int getStatus()
getStatus
in interface TrackerTorrent
public long getTotalUploaded()
getTotalUploaded
in interface TrackerTorrent
public long getTotalDownloaded()
getTotalDownloaded
in interface TrackerTorrent
public long getAverageUploaded()
getAverageUploaded
in interface TrackerTorrent
public long getAverageDownloaded()
getAverageDownloaded
in interface TrackerTorrent
public long getTotalLeft()
getTotalLeft
in interface TrackerTorrent
public long getCompletedCount()
getCompletedCount
in interface TrackerTorrent
public long getTotalBytesIn()
TrackerTorrent
getTotalBytesIn
in interface TrackerTorrent
public long getAverageBytesIn()
TrackerTorrent
getAverageBytesIn
in interface TrackerTorrent
public long getTotalBytesOut()
TrackerTorrent
getTotalBytesOut
in interface TrackerTorrent
public long getAverageBytesOut()
TrackerTorrent
getAverageBytesOut
in interface TrackerTorrent
public long getAverageScrapeCount()
getAverageScrapeCount
in interface TrackerTorrent
public long getScrapeCount()
getScrapeCount
in interface TrackerTorrent
public long getAverageAnnounceCount()
getAverageAnnounceCount
in interface TrackerTorrent
public long getAnnounceCount()
getAnnounceCount
in interface TrackerTorrent
public int getSeedCount()
getSeedCount
in interface TrackerTorrent
public int getLeecherCount()
getLeecherCount
in interface TrackerTorrent
public int getBadNATCount()
TrackerTorrent
getBadNATCount
in interface TrackerTorrent
public void disableReplyCaching()
TrackerTorrent
disableReplyCaching
in interface TrackerTorrent
public boolean isPassive()
isPassive
in interface TrackerTorrent
public long getDateAdded()
getDateAdded
in interface TrackerTorrent
public void preProcess(TRHostTorrentRequest request) throws TRHostException
preProcess
in interface TRHostTorrentListener
TRHostException
public void postProcess(TRHostTorrentRequest request) throws TRHostException
postProcess
in interface TRHostTorrentListener
TRHostException
public void addListener(TrackerTorrentListener listener)
addListener
in interface TrackerTorrent
public void removeListener(TrackerTorrentListener listener)
removeListener
in interface TrackerTorrent
public void torrentWillBeRemoved(TRHostTorrent t) throws TRHostTorrentRemovalVetoException
torrentWillBeRemoved
in interface TRHostTorrentWillBeRemovedListener
TRHostTorrentRemovalVetoException
public void addRemovalListener(TrackerTorrentWillBeRemovedListener listener)
addRemovalListener
in interface TrackerTorrent
public void removeRemovalListener(TrackerTorrentWillBeRemovedListener listener)
removeRemovalListener
in interface TrackerTorrent
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |