|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.i2p.data.DataStructureImpl
net.i2p.data.SimpleDataStructure
net.i2p.crypto.SHA1Hash
org.klomp.snark.dht.NID
public class NID
A 20-byte peer ID, used as a Map key in lots of places. Must be public for constructor in KBucketSet.generateRandomKey()
| Field Summary |
|---|
| Fields inherited from class net.i2p.crypto.SHA1Hash |
|---|
HASH_LENGTH |
| Fields inherited from class net.i2p.data.SimpleDataStructure |
|---|
_data, _length |
| Constructor Summary | |
|---|---|
NID()
|
|
NID(byte[] data)
|
|
| Method Summary | |
|---|---|
long |
lastSeen()
|
void |
setLastSeen()
|
boolean |
timeout()
|
| Methods inherited from class net.i2p.crypto.SHA1Hash |
|---|
hashCode, length, readBytes, setData |
| Methods inherited from class net.i2p.data.SimpleDataStructure |
|---|
calculateHash, equals, fromBase64, fromByteArray, getData, toBase64, toByteArray, toString, writeBytes |
| Methods inherited from class net.i2p.data.DataStructureImpl |
|---|
read |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NID()
public NID(byte[] data)
| Method Detail |
|---|
public long lastSeen()
public void setLastSeen()
public boolean timeout()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||