|
||||||||||
| 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.data.Hash
org.klomp.snark.dht.Peer
class Peer
A single peer for a single torrent. This is what the DHT tracker remembers.
| Field Summary |
|---|
| Fields inherited from class net.i2p.data.Hash |
|---|
FAKE_HASH, HASH_LENGTH |
| Fields inherited from class net.i2p.data.SimpleDataStructure |
|---|
_data, _length |
| Constructor Summary | |
|---|---|
Peer(byte[] data)
|
|
| Method Summary | |
|---|---|
long |
lastSeen()
|
void |
setLastSeen(long now)
|
| Methods inherited from class net.i2p.data.Hash |
|---|
create, create, create, hashCode, length, readBytes, setData, toBase64 |
| Methods inherited from class net.i2p.data.SimpleDataStructure |
|---|
calculateHash, equals, fromBase64, fromByteArray, getData, 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 Peer(byte[] data)
| Method Detail |
|---|
public long lastSeen()
public void setLastSeen(long now)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||