org.gudy.azureus2.plugins.peers
Interface PeerReadRequest

All Known Subinterfaces:
DiskManagerReadRequest
All Known Implementing Classes:
DiskManagerReadRequestImpl

public interface PeerReadRequest

Since:
2307
Author:
parg

Field Summary
static int NORMAL_REQUEST_SIZE
           
 
Method Summary
 void cancel()
           
 int getLength()
           
 int getOffset()
           
 int getPieceNumber()
           
 boolean isCancelled()
           
 boolean isExpired()
           
 void resetTime(long now)
           
 

Field Detail

NORMAL_REQUEST_SIZE

static final int NORMAL_REQUEST_SIZE
See Also:
Constant Field Values
Method Detail

getPieceNumber

int getPieceNumber()

getOffset

int getOffset()

getLength

int getLength()

resetTime

void resetTime(long now)

isExpired

boolean isExpired()

cancel

void cancel()

isCancelled

boolean isCancelled()