| Package | Description |
|---|---|
| org.klomp.snark.dht | Distributed Hash Table (DHT) implementation for BitTorrent. |
| Modifier and Type | Method and Description |
|---|---|
(package private) void | DHTTracker.announce(InfoHash ih,
Hash hash,
boolean isSeed)Announce a peer for a torrent. |
(package private) List<Hash> | DHTTracker.getPeers(InfoHash ih,
int max,
boolean noSeeds)Get peers for a torrent. |
(package private) void | DHTTracker.unannounce(InfoHash ih,
Hash hash)Remove a peer from a torrent's peer list. |
| Constructor and Description |
|---|
TokenKey(NID nID,
InfoHash ih)Creates a new token key by combining a node ID with an info hash. |