Interface UploadHelper
public interface UploadHelper
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionGet all (PEPeerTransport) peers for this download.int
Get download opt unchoke priority.boolean
Is this download in seeding mode.
-
Field Details
-
PRIORITY_DISABLED
static final int PRIORITY_DISABLED- See Also:
-
PRIORITY_LOWEST
static final int PRIORITY_LOWEST- See Also:
-
PRIORITY_LOW
static final int PRIORITY_LOW- See Also:
-
PRIORITY_NORMAL
static final int PRIORITY_NORMAL- See Also:
-
PRIORITY_HIGH
static final int PRIORITY_HIGH- See Also:
-
PRIORITY_HIGHEST
static final int PRIORITY_HIGHEST- See Also:
-
-
Method Details
-
getPriority
int getPriority()Get download opt unchoke priority.- Returns:
-
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
-