|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Receiver | |
|---|---|
| org.planx.xmlstore.routing.messaging | |
| org.planx.xmlstore.routing.operation | |
| Uses of Receiver in org.planx.xmlstore.routing.messaging |
|---|
| Methods in org.planx.xmlstore.routing.messaging that return Receiver | |
|---|---|
Receiver |
MessageFactory.createReceiver(byte code,
MessageServer server)
Creates a Receiver for handling a Message of type code. |
| Methods in org.planx.xmlstore.routing.messaging with parameters of type Receiver | |
|---|---|
int |
MessageServer.send(Message message,
InetAddress ip,
int port,
Receiver recv)
Sends the specified Message and calls the specified Receiver when a reply for the message is received. |
| Uses of Receiver in org.planx.xmlstore.routing.operation |
|---|
| Classes in org.planx.xmlstore.routing.operation that implement Receiver | |
|---|---|
class |
ConnectOperation
Connects to an existing Kademlia network using a bootstrap node. |
class |
ConnectReceiver
Receives a ConnectMessage and sends an AcknowledgeMessage as reply. |
class |
DataLookupOperation
Looks up the specified identifier and returns the value associated with it. |
class |
DataLookupReceiver
Responds to a DataLookupMessage by sending a DataMessage containing the requested mapping or by sending a NodeReplyMessage containing the K closest nodes to the request key known by this node. |
class |
HashReceiver
Receives a HashMessage and compares it to hashes generated locally. |
class |
HashRequestReceiver
Receives a HashRequestMessage and replies with a HashMessage containing group hashes of mappings that should both be available at the local node and the origin node. |
class |
NodeLookupOperation
Finds the K closest nodes to a specified identifier. |
class |
NodeLookupReceiver
Handles incoming LookupMessages by sending a NodeReplyMessage containing the K closest nodes to the requested identifier. |
class |
OriginReceiver
Handles updating of the local space when messages are received and provides easy implementation of more specific receivers. |
class |
RemoveReceiver
Handles incoming remove messages by removing the mapping with the specified key from the local map. |
class |
StoreReceiver
Receives a StoreMessage and stores the mapping if a mapping with the same key and a newer timestamp does not exist. |
class |
StoreRequestReceiver
Receives an incoming StoreRequestMessage and issues StoreMessages for mappings in the requested interval that should be available at the origin node. |
| Methods in org.planx.xmlstore.routing.operation that return Receiver | |
|---|---|
Receiver |
MessageFactoryImpl.createReceiver(byte code,
MessageServer server)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||