Package com.biglybt.core.tracker
Interface TrackerPeerSource
- All Known Implementing Classes:
TrackerPeerSourceAdapter
public interface TrackerPeerSource
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
-
Field Details
-
TP_UNKNOWN
static final int TP_UNKNOWN- See Also:
-
TP_TRACKER
static final int TP_TRACKER- See Also:
-
TP_HTTP_SEED
static final int TP_HTTP_SEED- See Also:
-
TP_DHT
static final int TP_DHT- See Also:
-
TP_LAN
static final int TP_LAN- See Also:
-
TP_PEX
static final int TP_PEX- See Also:
-
TP_INCOMING
static final int TP_INCOMING- See Also:
-
TP_PLUGIN
static final int TP_PLUGIN- See Also:
-
ST_UNKNOWN
static final int ST_UNKNOWN- See Also:
-
ST_DISABLED
static final int ST_DISABLED- See Also:
-
ST_STOPPED
static final int ST_STOPPED- See Also:
-
ST_QUEUED
static final int ST_QUEUED- See Also:
-
ST_UPDATING
static final int ST_UPDATING- See Also:
-
ST_ONLINE
static final int ST_ONLINE- See Also:
-
ST_ERROR
static final int ST_ERROR- See Also:
-
ST_AVAILABLE
static final int ST_AVAILABLE- See Also:
-
ST_UNAVAILABLE
static final int ST_UNAVAILABLE- See Also:
-
ST_INITIALISING
static final int ST_INITIALISING- See Also:
-
-
Method Details
-
getType
int getType() -
getName
String getName() -
getDetails
String getDetails() -
getStatus
int getStatus() -
getStatusString
String getStatusString() -
getSeedCount
int getSeedCount() -
getLeecherCount
int getLeecherCount() -
getURL
URL getURL()- Returns:
- URL associated with this source, if there is one, null otherwise
-
getPeers
int getPeers() -
getCompletedCount
int getCompletedCount()If the tracker source supports 'number downloads completed' this will be >= 0- Returns:
-
getLastUpdate
int getLastUpdate() -
getSecondsToUpdate
int getSecondsToUpdate()- Returns:
- Integer.MIN_VAL -> no details available
-
getInterval
int getInterval() -
getMinInterval
int getMinInterval() -
isUpdating
boolean isUpdating() -
canManuallyUpdate
boolean canManuallyUpdate() -
manualUpdate
void manualUpdate() -
getReportedStats
long[] getReportedStats() -
canDelete
boolean canDelete() -
delete
void delete()
-