com.aelitis.azureus.core.tracker
Class TrackerPeerSourceAdapter
java.lang.Object
com.aelitis.azureus.core.tracker.TrackerPeerSourceAdapter
- All Implemented Interfaces:
- TrackerPeerSource
public abstract class TrackerPeerSourceAdapter
- extends Object
- implements TrackerPeerSource
Fields inherited from interface com.aelitis.azureus.core.tracker.TrackerPeerSource |
ST_AVAILABLE, ST_DISABLED, ST_ERROR, ST_INITIALISING, ST_ONLINE, ST_QUEUED, ST_STOPPED, ST_UNAVAILABLE, ST_UNKNOWN, ST_UPDATING, TP_DHT, TP_HTTP_SEED, TP_INCOMING, TP_LAN, TP_PEX, TP_PLUGIN, TP_TRACKER, TP_UNKNOWN |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrackerPeerSourceAdapter
public TrackerPeerSourceAdapter()
getType
public int getType()
- Specified by:
getType
in interface TrackerPeerSource
getName
public String getName()
- Specified by:
getName
in interface TrackerPeerSource
getStatus
public int getStatus()
- Specified by:
getStatus
in interface TrackerPeerSource
getStatusString
public String getStatusString()
- Specified by:
getStatusString
in interface TrackerPeerSource
getSeedCount
public int getSeedCount()
- Specified by:
getSeedCount
in interface TrackerPeerSource
getLeecherCount
public int getLeecherCount()
- Specified by:
getLeecherCount
in interface TrackerPeerSource
getPeers
public int getPeers()
- Specified by:
getPeers
in interface TrackerPeerSource
getCompletedCount
public int getCompletedCount()
- Description copied from interface:
TrackerPeerSource
- If the tracker source supports 'number downloads completed' this will be >= 0
- Specified by:
getCompletedCount
in interface TrackerPeerSource
- Returns:
getLastUpdate
public int getLastUpdate()
- Specified by:
getLastUpdate
in interface TrackerPeerSource
getSecondsToUpdate
public int getSecondsToUpdate()
- Specified by:
getSecondsToUpdate
in interface TrackerPeerSource
getInterval
public int getInterval()
- Specified by:
getInterval
in interface TrackerPeerSource
getMinInterval
public int getMinInterval()
- Specified by:
getMinInterval
in interface TrackerPeerSource
isUpdating
public boolean isUpdating()
- Specified by:
isUpdating
in interface TrackerPeerSource
canManuallyUpdate
public boolean canManuallyUpdate()
- Specified by:
canManuallyUpdate
in interface TrackerPeerSource
manualUpdate
public void manualUpdate()
- Specified by:
manualUpdate
in interface TrackerPeerSource
canDelete
public boolean canDelete()
- Specified by:
canDelete
in interface TrackerPeerSource
delete
public void delete()
- Specified by:
delete
in interface TrackerPeerSource