FileDocCategorySizeDatePackage
DiskManagerRequest.javaAPI DocAzureus 3.0.3.41808Fri May 04 15:08:24 BST 2007org.gudy.azureus2.plugins.disk

DiskManagerRequest

public interface DiskManagerRequest

Fields Summary
public static final int
REQUEST_READ
Constructors Summary
Methods Summary
public voidaddListener(DiskManagerListener listener)

public voidcancel()

public longgetAvailableBytes()
Get the number of bytes available for immediate reading from the request given its current position. If this information is not known (download not running) then -1 is returned

return

public longgetRemaining()
Get the number of bytes remaining to be read for the request

return

public voidremoveListener(DiskManagerListener listener)

public voidrun()

public voidsetLength(long length)

public voidsetOffset(long offset)

public voidsetType(int type)

public voidsetUserAgent(java.lang.String agent)