| 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 |
|---|---|
TorrentDest | Snark.getDest()The transient multi-dest destination, or null when multi-dest is
disabled or the torrent is stopped. |
TorrentDest | I2PSnarkUtil.getOrCreateTorrentDest(String key,
String name)The destination for a torrent, creating the destination and session on first use,
or assigning the torrent to a shared pool when the configured maximum number of
destinations is exceeded. |
| Modifier and Type | Method and Description |
|---|---|
Collection<TorrentDest> | I2PSnarkUtil.getTorrentDests()All active transient destinations, for the tunnel quantity ramp in the IdleChecker. |
| Modifier and Type | Method and Description |
|---|---|
void | ConnectionAcceptor.addTorrentAcceptor(TorrentDest td,
PeerCoordinator coordinator)Start an accept loop on a torrent's destination, adding the torrent to the
destination's loop when one already runs for a pooled destination. |
void | ConnectionAcceptor.removeTorrentAcceptor(TorrentDest td,
PeerCoordinator coordinator)Remove a torrent from its destination's accept loop, halting the loop when it no
longer serves any torrent. |
| Constructor and Description |
|---|
ConnectionAcceptor(I2PSnarkUtil util,
PeerAcceptor peeracceptor,
TorrentDest td)Single torrent on its own destination. |