| Package | Description |
|---|---|
| de.cgrotz.kademlia.client | |
| de.cgrotz.kademlia.protocol |
| Modifier and Type | Method and Description |
|---|---|
void |
KademliaClientHandler.registerHandler(long seqId,
java.util.function.Consumer<Message> consumer) |
| Modifier and Type | Class and Description |
|---|---|
class |
FindNode
The recipient of the request will return the k nodes in his own buckets that are the closest ones to the requested key.
|
class |
FindValue
Same as FIND_NODE, but if the recipient of the request has the requested key in its store, it will return the corresponding value.
|
class |
NodeReply
Created by Christoph on 23.09.2016.
|
class |
Ping
Used to verify that a node is still alive.
|
class |
Pong
Response to Ping
Created by Christoph on 22.09.2016.
|
class |
Store
Stores a (key, value) pair in one node.
|
class |
StoreReply
Response to Ping
Created by Christoph on 22.09.2016.
|
class |
ValueReply
Same as FIND_NODE, but if the recipient of the request has the requested key in its store, it will return the corresponding value.
|
| Modifier and Type | Method and Description |
|---|---|
Message |
Codec.decode(io.netty.buffer.ByteBuf buffer) |
| Modifier and Type | Method and Description |
|---|---|
io.netty.buffer.ByteBuf |
Codec.encode(Message msg) |
Copyright © 2016. All Rights Reserved.