Uses of Class
org.klomp.snark.dht.NID
Package | Description |
---|---|
org.klomp.snark.dht |
-
Uses of NID in org.klomp.snark.dht
Fields in org.klomp.snark.dht declared as NID Modifier and Type Field Description static NID
KRPC. FAKE_NID
all-zero NID used for pingsMethods in org.klomp.snark.dht that return NID Modifier and Type Method Description static NID
NodeInfo. generateNID(Hash h, int p, RandomSource random)
Generate a secure NID that matches the Hash and port.NID
NodeInfo. getNID()
Methods in org.klomp.snark.dht that return types with arguments of type NID Modifier and Type Method Description List<NID>
DHTNodes. getExploreKeys()
DHT - get random keys to exploreMethods in org.klomp.snark.dht with parameters of type NID Modifier and Type Method Description NodeInfo
DHTNodes. get(NID nid)
NodeInfo
DHTNodes. remove(NID nid)
boolean
KBTrimmer. trim(KBucket<NID> kbucket, NID toAdd)
Method parameters in org.klomp.snark.dht with type arguments of type NID Modifier and Type Method Description boolean
KBTrimmer. trim(KBucket<NID> kbucket, NID toAdd)
Constructors in org.klomp.snark.dht with parameters of type NID Constructor Description DHTNodes(I2PAppContext ctx, NID me)
NodeInfo(NID nID, Destination dest, int port)
Use this if we have the full destinationNodeInfo(NID nID, Hash hash, int port)
No Destination yet availableTokenKey(NID nID, InfoHash ih)