Package org.klomp.snark.dht
Class DHTTracker
java.lang.Object
org.klomp.snark.dht.DHTTracker
The tracker stores peers, i.e. Dest hashes (not nodes).
- Since:
- 0.9.2
- Author:
- zzz
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidCaller's responsibility to remove himself from the listvoidDebug info, HTML formattedvoidstart()(package private) voidstop()(package private) voidunannounce(InfoHash ih, Hash hash)
-
Constructor Details
-
DHTTracker
DHTTracker(I2PAppContext ctx)
-
-
Method Details
-
start
public void start() -
stop
void stop() -
announce
-
unannounce
-
getPeers
Caller's responsibility to remove himself from the list- Parameters:
noSeeds- true if we do not want seeds in the result- Returns:
- list or empty list (never null)
-
renderStatusHTML
Debug info, HTML formatted
-