| 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.
|
| org.klomp.snark.web |
The i2psnark user interface, implemented as a webapp in i2psnark.war.
|
| Class | Description |
|---|---|
| BitField |
Container of a byte array representing set and unset bits.
|
| CompleteListener |
Callback for Snark events.
|
| ConnectionAcceptor |
Accepts connections on a I2PServerSocket and routes them to PeerAcceptors.
|
| CoordinatorListener |
Callback used when some peer changes state.
|
| DataLoader |
Callback used to fetch data
|
| I2PSnarkUtil |
I2P specific helpers for I2PSnark
We use this class as a sort of context for i2psnark
so we can run multiple instances of single Snarks
(but not multiple SnarkManagers, it is still static)
|
| MagnetState |
Simple state for the download of the metainfo, shared between
Peer and ExtensionHandler.
|
| MetaInfo |
Note: this class is buggy, as it doesn't propogate custom meta fields into the bencoded
info data, and from there to the info_hash.
|
| PartialPiece |
Store the received data either on the heap or in a temp file.
|
| Peer | |
| PeerAcceptor |
Accepts incomming connections from peers.
|
| PeerConnectionIn | |
| PeerConnectionOut | |
| PeerCoordinator |
Coordinates what peer does what.
|
| PeerCoordinatorSet |
Hmm, any guesses as to what this is? Used by the multitorrent functionality
in the PeerAcceptor to pick the right PeerCoordinator to accept the con for.
|
| PeerID |
Store the address information about a peer.
|
| PeerListener |
Listener for Peer events.
|
| PeerState | |
| Piece |
This class is used solely by PeerCoordinator.
|
| Request |
Holds all information needed for a partial piece request.
|
| ShutdownListener |
Callback for end of shutdown sequence.
|
| Snark |
Main Snark program startup class.
|
| SnarkManager |
Manage multiple snarks
|
| Storage |
Maintains pieces on disk.
|
| StorageListener |
Callback used when Storage changes.
|
| Tracker |
A structure for known trackers
|
| TrackerClient |
Informs metainfo tracker of events and gets new peers for peer
coordinator.
|
| Class | Description |
|---|---|
| CoordinatorListener |
Callback used when some peer changes state.
|
| ShutdownListener |
Callback for end of shutdown sequence.
|
| Snark |
Main Snark program startup class.
|
| SnarkManager |
Manage multiple snarks
|
| Storage |
Maintains pieces on disk.
|
| StorageListener |
Callback used when Storage changes.
|