|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TrackerTorrent
Field Summary | |
---|---|
static int |
TS_PUBLISHED
|
static int |
TS_STARTED
|
static int |
TS_STOPPED
|
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 |
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()
|
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()
|
boolean |
isPassive()
|
void |
remove()
|
void |
removeListener(TrackerTorrentListener listener)
|
void |
removeRemovalListener(TrackerTorrentWillBeRemovedListener listener)
|
void |
start()
|
void |
stop()
|
Field Detail |
---|
static final int TS_STARTED
static final int TS_STOPPED
static final int TS_PUBLISHED
Method Detail |
---|
void start() throws TrackerException
TrackerException
void stop() throws TrackerException
TrackerException
void remove() throws TrackerTorrentRemovalVetoException
TrackerTorrentRemovalVetoException
boolean canBeRemoved() throws TrackerTorrentRemovalVetoException
TrackerTorrentRemovalVetoException
Torrent getTorrent()
TrackerPeer[] getPeers()
int getStatus()
int getSeedCount()
int getLeecherCount()
int getBadNATCount()
long getTotalUploaded()
long getTotalDownloaded()
long getAverageUploaded()
long getAverageDownloaded()
long getTotalLeft()
long getCompletedCount()
long getTotalBytesIn()
long getAverageBytesIn()
long getTotalBytesOut()
long getAverageBytesOut()
long getScrapeCount()
long getAverageScrapeCount()
long getAnnounceCount()
long getAverageAnnounceCount()
void disableReplyCaching()
boolean isPassive()
long getDateAdded()
void addListener(TrackerTorrentListener listener)
void removeListener(TrackerTorrentListener listener)
void addRemovalListener(TrackerTorrentWillBeRemovedListener listener)
void removeRemovalListener(TrackerTorrentWillBeRemovedListener listener)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |