com.aelitis.azureus.core.peermanager.uploadslots
Interface UploadHelper


public interface UploadHelper


Field Summary
static int PRIORITY_DISABLED
           
static int PRIORITY_HIGH
           
static int PRIORITY_HIGHEST
           
static int PRIORITY_LOW
           
static int PRIORITY_LOWEST
           
static int PRIORITY_NORMAL
           
 
Method Summary
 ArrayList<PEPeer> getAllPeers()
          Get all (PEPeerTransport) peers for this download.
 int getPriority()
          Get download opt unchoke priority.
 boolean isSeeding()
          Is this download in seeding mode.
 

Field Detail

PRIORITY_DISABLED

static final int PRIORITY_DISABLED
See Also:
Constant Field Values

PRIORITY_LOWEST

static final int PRIORITY_LOWEST
See Also:
Constant Field Values

PRIORITY_LOW

static final int PRIORITY_LOW
See Also:
Constant Field Values

PRIORITY_NORMAL

static final int PRIORITY_NORMAL
See Also:
Constant Field Values

PRIORITY_HIGH

static final int PRIORITY_HIGH
See Also:
Constant Field Values

PRIORITY_HIGHEST

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

getPriority

int getPriority()
Get download opt unchoke priority.

Returns:

getAllPeers

ArrayList<PEPeer> getAllPeers()
Get all (PEPeerTransport) peers for this download.

Returns:
non-mutable list of peers

isSeeding

boolean isSeeding()
Is this download in seeding mode.

Returns:
true if seeding, false if downloading