Serializable
, DataStructure
class Peer extends Hash
FAKE_HASH, HASH_LENGTH
_data
Constructor | Description |
---|---|
Peer(byte[] data) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
isSeed() |
|
long |
lastSeen() |
|
void |
setLastSeen(long now) |
|
void |
setSeed(boolean isSeed) |
read
clearCache, create, create, create, hashCode, length, readBytes, setData, toBase32, toBase64
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
calculateHash, equals, fromBase64, fromByteArray, getData, toByteArray, toString, writeBytes