com.aelitis.azureus.core.download
Class EnhancedDownloadManager.bufferETAProvider
java.lang.Object
  
com.aelitis.azureus.core.download.EnhancedDownloadManager.bufferETAProvider
- All Implemented Interfaces: 
 - PieceRTAProvider
 
- Enclosing class:
 - EnhancedDownloadManager
 
protected class EnhancedDownloadManager.bufferETAProvider
- extends Object
- implements PieceRTAProvider
  
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
EnhancedDownloadManager.bufferETAProvider
protected EnhancedDownloadManager.bufferETAProvider()
activate
protected void activate(PiecePicker picker)
 
 
deactivate
protected void deactivate(PiecePicker picker)
 
 
checkActivation
protected void checkActivation(PiecePicker picker)
 
 
updateRTAs
public long[] updateRTAs(PiecePicker picker)
- Specified by:
 updateRTAs in interface PieceRTAProvider
 
 
getCurrentPosition
public long getCurrentPosition()
- Specified by:
 getCurrentPosition in interface PieceRTAProvider
 
 
getStartTime
public long getStartTime()
- Specified by:
 getStartTime in interface PieceRTAProvider
 
 
getStartPosition
public long getStartPosition()
- Specified by:
 getStartPosition in interface PieceRTAProvider
 
 
getBlockingPosition
public long getBlockingPosition()
- Specified by:
 getBlockingPosition in interface PieceRTAProvider
 
 
setBufferMillis
public void setBufferMillis(long millis,
                            long delay_millis)
- Description copied from interface: 
PieceRTAProvider 
- Sets an external view of how much buffer is being maintained by an external source. This
 reduces piece urgency and therefore reduces discard.
- Specified by:
 setBufferMillis in interface PieceRTAProvider
 
 
 
getUserAgent
public String getUserAgent()
- Description copied from interface: 
PieceRTAProvider 
- Returns the user-agent associated with this RTA activity, if known
- Specified by:
 getUserAgent in interface PieceRTAProvider
 
- Returns: