Package | Description |
---|---|
org.klomp.snark |
I2P version of the snark bittorrent client, imported in 2005 and heavily enhanced
to add a web UI, DHT support, and other features.
|
Modifier and Type | Class and Description |
---|---|
class |
BandwidthManager
Bandwidth and bandwidth limits
Maintain three bandwidth estimators:
Sent, received, and requested.
|
class |
Peer |
(package private) class |
PeerCoordinator
Coordinates what peer does what.
|
(package private) class |
WebPeer
BEP 19.
|
Modifier and Type | Method and Description |
---|---|
(package private) BandwidthListener |
PeerState.getBandwidthListener() |
BandwidthListener |
SnarkManager.getBandwidthListener()
The BandwidthManager.
|
BandwidthListener |
UpdateRunner.getBandwidthListener() |
BandwidthListener |
CompleteListener.getBandwidthListener() |
Modifier and Type | Method and Description |
---|---|
void |
Request.read(DataInputStream din,
BandwidthListener bwl) |
void |
PartialPiece.read(DataInputStream din,
int offset,
int len,
BandwidthListener bwl)
Blocking.
|
void |
WebPeer.runConnection(I2PSnarkUtil util,
PeerListener listener,
BandwidthListener bwl,
BitField ignore,
MagnetState mState,
boolean uploadOnly)
Runs the connection to the other peer.
|
void |
Peer.runConnection(I2PSnarkUtil util,
PeerListener listener,
BandwidthListener bwl,
BitField bitfield,
MagnetState mState,
boolean uploadOnly)
Runs the connection to the other peer.
|
Constructor and Description |
---|
PeerCoordinator(I2PSnarkUtil util,
byte[] id,
byte[] infohash,
MetaInfo metainfo,
Storage storage,
CoordinatorListener listener,
Snark torrent,
BandwidthListener bwl) |
PeerState(Peer peer,
PeerListener listener,
BandwidthListener bwl,
MetaInfo metainfo,
PeerConnectionIn in,
PeerConnectionOut out) |