| 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 | Method and Description |
|---|---|
PeerCoordinator | PeerCoordinatorSet.get(byte[] infoHash) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<PeerCoordinator> | PeerCoordinatorSet.iterator()Returns an iterator over all registered coordinators. |
| Modifier and Type | Method and Description |
|---|---|
void | PeerCoordinatorSet.add(PeerCoordinator coordinator)Register a coordinator for its torrent's info hash. |
void | Snark.gotMetaInfo(PeerCoordinator coordinator,
MetaInfo metainfo)Called when the PeerCoordinator got the MetaInfo via magnet. |
void | CoordinatorListener.gotMetaInfo(PeerCoordinator coordinator,
MetaInfo metainfo)Called when the PeerCoordinator got the MetaInfo via magnet. |
void | Snark.peerChange(PeerCoordinator coordinator,
Peer peer)CoordinatorListener no-op |
void | CoordinatorListener.peerChange(PeerCoordinator coordinator,
Peer peer)Called when the PeerCoordinator notices a change in the state of a peer. |
void | PeerCoordinatorSet.remove(PeerCoordinator coordinator)Unregister a coordinator. |
| Constructor and Description |
|---|
PeerAcceptor(PeerCoordinator coordinator)Creates a single-torrent PeerAcceptor. |
PeerCheckerTask(I2PSnarkUtil util,
PeerCoordinator coordinator)Creates a new checker task for the given coordinator. |
TrackerClient(I2PSnarkUtil util,
MetaInfo meta,
String additionalTrackerURL,
PeerCoordinator coordinator,
Snark snark)Call start() to start it. |
WebPeer(PeerCoordinator coord,
URI uri,
PeerID peerID,
MetaInfo metainfo)Outgoing connection. |