| 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 |
|---|---|
(package private) class |
PeerCoordinator
Coordinates peer activities for a single torrent including upload/download management,
peer selection, piece distribution, and bandwidth allocation.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) PeerListener |
PeerState.listener
Fixme, used by Peer.disconnect() to get to the coordinator
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ExtensionHandler.handleMessage(Peer peer,
PeerListener listener,
int id,
byte[] bs) |
void |
Peer.runConnection(I2PSnarkUtil util,
PeerListener listener,
BandwidthListener bwl,
BitField bitfield,
MagnetState mState,
boolean uploadOnly)
Runs the connection to the other peer.
|
void |
WebPeer.runConnection(I2PSnarkUtil util,
PeerListener listener,
BandwidthListener bwl,
BitField ignore,
MagnetState mState,
boolean uploadOnly)
Runs the connection to the other peer.
|
| Constructor and Description |
|---|
PeerState(Peer peer,
PeerListener listener,
BandwidthListener bwl,
MetaInfo metainfo,
PeerConnectionIn in,
PeerConnectionOut out) |