class DHTTracker extends Object
| Constructor and Description |
|---|
DHTTracker(I2PAppContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
announce(InfoHash ih,
Hash hash,
boolean isSeed) |
(package private) List<Hash> |
getPeers(InfoHash ih,
int max,
boolean noSeeds)
Caller's responsibility to remove himself from the list
|
void |
renderStatusHTML(StringBuilder buf)
Debug info, HTML formatted
|
void |
start() |
(package private) void |
stop() |
(package private) void |
unannounce(InfoHash ih,
Hash hash) |
DHTTracker(I2PAppContext ctx)
List<Hash> getPeers(InfoHash ih, int max, boolean noSeeds)
noSeeds - true if we do not want seeds in the resultpublic void renderStatusHTML(StringBuilder buf)
public void start()
void stop()