Package com.biglybt.core.tracker.host
Interface TRHostTorrent
-
- All Known Implementing Classes:
TRHostTorrentHostImpl
,TRHostTorrentPublishImpl
public interface TRHostTorrent
-
-
Field Summary
Fields Modifier and Type Field Description static int
TS_FAILED
static int
TS_PUBLISHED
static int
TS_STARTED
static int
TS_STOPPED
-
Method Summary
-
-
-
Field Detail
-
TS_FAILED
static final int TS_FAILED
- See Also:
- Constant Field Values
-
TS_STOPPED
static final int TS_STOPPED
- See Also:
- Constant Field Values
-
TS_STARTED
static final int TS_STARTED
- See Also:
- Constant Field Values
-
TS_PUBLISHED
static final int TS_PUBLISHED
- See Also:
- Constant Field Values
-
-
Method Detail
-
start
void start()
-
stop
void stop()
-
remove
void remove() throws TRHostTorrentRemovalVetoException
-
canBeRemoved
boolean canBeRemoved() throws TRHostTorrentRemovalVetoException
doesn't guarantee that removal will be successful as conditions may change- Returns:
- true if OK, exception thrown otherwise
- Throws:
TRHostTorrentRemovalVetoException
-
getStatus
int getStatus()
-
isPersistent
boolean isPersistent()
-
isPassive
boolean isPassive()
-
setPassive
void setPassive(boolean passive)
-
getDateAdded
long getDateAdded()
-
getTorrent
TOTorrent getTorrent()
-
setTorrent
void setTorrent(TOTorrent torrent)
-
getTrackerTorrent
TRTrackerServerTorrent getTrackerTorrent()
-
getPort
int getPort()
-
getPeers
TRHostPeer[] getPeers()
-
getSeedCount
int getSeedCount()
-
getLeecherCount
int getLeecherCount()
-
getBadNATCount
int getBadNATCount()
-
getAnnounceCount
long getAnnounceCount()
-
getAverageAnnounceCount
long getAverageAnnounceCount()
-
getScrapeCount
long getScrapeCount()
-
getAverageScrapeCount
long getAverageScrapeCount()
-
getCompletedCount
long getCompletedCount()
-
getTotalUploaded
long getTotalUploaded()
-
getTotalDownloaded
long getTotalDownloaded()
-
getTotalLeft
long getTotalLeft()
-
getAverageUploaded
long getAverageUploaded()
-
getAverageDownloaded
long getAverageDownloaded()
-
getTotalBytesIn
long getTotalBytesIn()
-
getAverageBytesIn
long getAverageBytesIn()
-
getTotalBytesOut
long getTotalBytesOut()
-
getAverageBytesOut
long getAverageBytesOut()
-
disableReplyCaching
void disableReplyCaching()
-
addListener
void addListener(TRHostTorrentListener l)
-
removeListener
void removeListener(TRHostTorrentListener l)
-
addRemovalListener
void addRemovalListener(TRHostTorrentWillBeRemovedListener l)
-
removeRemovalListener
void removeRemovalListener(TRHostTorrentWillBeRemovedListener l)
-
getData
java.lang.Object getData(java.lang.String key)
To retreive arbitrary objects against this object.
-
setData
void setData(java.lang.String key, java.lang.Object value)
To store arbitrary objects against this object.
-
-