class DHTTracker extends Object
Constructor | Description |
---|---|
DHTTracker(I2PAppContext ctx) |
Modifier and Type | Method | 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)
public void start()
void stop()
List<Hash> getPeers(InfoHash ih, int max, boolean noSeeds)
noSeeds
- true if we do not want seeds in the resultpublic void renderStatusHTML(StringBuilder buf)