org.gudy.azureus2.pluginsimpl.remote.tracker
Class RPTrackerTorrent
java.lang.Object
  
org.gudy.azureus2.pluginsimpl.remote.RPObject
      
org.gudy.azureus2.pluginsimpl.remote.tracker.RPTrackerTorrent
- All Implemented Interfaces: 
 - Serializable, TrackerTorrent
 
public class RPTrackerTorrent
- extends RPObject
- implements TrackerTorrent
  
- Author:
 
  - parg
 
- See Also:
 - Serialized Form
 
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
delegate
protected transient TrackerTorrent delegate
torrent
public RPTorrent torrent
status
public int status
total_uploaded
public long total_uploaded
total_downloaded
public long total_downloaded
average_uploaded
public long average_uploaded
average_downloaded
public long average_downloaded
total_left
public long total_left
completed_count
public long completed_count
total_bytes_in
public long total_bytes_in
average_bytes_in
public long average_bytes_in
total_bytes_out
public long total_bytes_out
average_bytes_out
public long average_bytes_out
scrape_count
public long scrape_count
average_scrape_count
public long average_scrape_count
announce_count
public long announce_count
average_announce_count
public long average_announce_count
seed_count
public int seed_count
leecher_count
public int leecher_count
bad_NAT_count
public int bad_NAT_count
RPTrackerTorrent
protected RPTrackerTorrent(TrackerTorrent _delegate)
create
public static RPTrackerTorrent create(TrackerTorrent _delegate)
 
 
_setDelegate
protected void _setDelegate(Object _delegate)
- Overrides:
 _setDelegate in class RPObject
 
 
_setLocal
public Object _setLocal()
                 throws RPException
- Overrides:
 _setLocal in class RPObject
 
- Throws:
 RPException
 
_setRemote
public void _setRemote(RPRequestDispatcher dispatcher)
- Overrides:
 _setRemote in class RPObject
 
 
_process
public RPReply _process(RPRequest request)
- Overrides:
 _process in class RPObject
 
 
start
public void start()
           throws TrackerException
- Specified by:
 start in interface TrackerTorrent
 
- Throws:
 TrackerException
 
stop
public void stop()
          throws TrackerException
- Specified by:
 stop in interface TrackerTorrent
 
- Throws:
 TrackerException
 
remove
public void remove()
            throws TrackerTorrentRemovalVetoException
- Specified by:
 remove in interface TrackerTorrent
 
- Throws:
 TrackerTorrentRemovalVetoException
 
canBeRemoved
public boolean canBeRemoved()
                     throws TrackerTorrentRemovalVetoException
- Specified by:
 canBeRemoved in interface TrackerTorrent
 
- Throws:
 TrackerTorrentRemovalVetoException
 
getTorrent
public Torrent getTorrent()
- Specified by:
 getTorrent in interface TrackerTorrent
 
 
getPeers
public TrackerPeer[] getPeers()
- Specified by:
 getPeers in interface TrackerTorrent
 
 
getStatus
public int getStatus()
- Specified by:
 getStatus in interface TrackerTorrent
 
 
getTotalUploaded
public long getTotalUploaded()
- Specified by:
 getTotalUploaded in interface TrackerTorrent
 
 
getTotalDownloaded
public long getTotalDownloaded()
- Specified by:
 getTotalDownloaded in interface TrackerTorrent
 
 
getAverageUploaded
public long getAverageUploaded()
- Specified by:
 getAverageUploaded in interface TrackerTorrent
 
 
getAverageDownloaded
public long getAverageDownloaded()
- Specified by:
 getAverageDownloaded in interface TrackerTorrent
 
 
getTotalLeft
public long getTotalLeft()
- Specified by:
 getTotalLeft in interface TrackerTorrent
 
 
getCompletedCount
public long getCompletedCount()
- Specified by:
 getCompletedCount in interface TrackerTorrent
 
 
getTotalBytesIn
public long getTotalBytesIn()
- Description copied from interface: 
TrackerTorrent 
- total bytes received by the tracker for this torrent - announce and scrape requests
- Specified by:
 getTotalBytesIn in interface TrackerTorrent
 
- Returns:
 
 
 
getAverageBytesIn
public long getAverageBytesIn()
- Description copied from interface: 
TrackerTorrent 
- average rate of bytes in
- Specified by:
 getAverageBytesIn in interface TrackerTorrent
 
- Returns:
 
 
 
getTotalBytesOut
public long getTotalBytesOut()
- Description copied from interface: 
TrackerTorrent 
- total bytes sent as response by the tracker - announce and scrape responses
- Specified by:
 getTotalBytesOut in interface TrackerTorrent
 
- Returns:
 
 
 
getAverageBytesOut
public long getAverageBytesOut()
- Description copied from interface: 
TrackerTorrent 
- average bytes sent
- Specified by:
 getAverageBytesOut in interface TrackerTorrent
 
- Returns:
 
 
 
getScrapeCount
public long getScrapeCount()
- Specified by:
 getScrapeCount in interface TrackerTorrent
 
 
getAverageScrapeCount
public long getAverageScrapeCount()
- Specified by:
 getAverageScrapeCount in interface TrackerTorrent
 
 
getAnnounceCount
public long getAnnounceCount()
- Specified by:
 getAnnounceCount in interface TrackerTorrent
 
 
getAverageAnnounceCount
public long getAverageAnnounceCount()
- Specified by:
 getAverageAnnounceCount in interface TrackerTorrent
 
 
getSeedCount
public int getSeedCount()
- Specified by:
 getSeedCount in interface TrackerTorrent
 
 
getLeecherCount
public int getLeecherCount()
- Specified by:
 getLeecherCount in interface TrackerTorrent
 
 
getBadNATCount
public int getBadNATCount()
- Description copied from interface: 
TrackerTorrent 
- Gives access to the number of peers that have failed NAT checks, 0 if NAT checking
 is disabled.
- Specified by:
 getBadNATCount in interface TrackerTorrent
 
- Returns:
 
 
 
disableReplyCaching
public void disableReplyCaching()
- Description copied from interface: 
TrackerTorrent 
- stops the tracker from caching replies to announces/scrapes for this torrent
- Specified by:
 disableReplyCaching in interface TrackerTorrent
 
 
 
isPassive
public boolean isPassive()
- Specified by:
 isPassive in interface TrackerTorrent
 
 
getDateAdded
public long getDateAdded()
- Specified by:
 getDateAdded in interface TrackerTorrent
 
- Returns:
 
 
addListener
public void addListener(TrackerTorrentListener listener)
- Specified by:
 addListener in interface TrackerTorrent
 
 
removeListener
public void removeListener(TrackerTorrentListener listener)
- Specified by:
 removeListener in interface TrackerTorrent
 
 
addRemovalListener
public void addRemovalListener(TrackerTorrentWillBeRemovedListener listener)
- Specified by:
 addRemovalListener in interface TrackerTorrent
 
 
removeRemovalListener
public void removeRemovalListener(TrackerTorrentWillBeRemovedListener listener)
- Specified by:
 removeRemovalListener in interface TrackerTorrent