Package org.planx.xmlstore.routing.operation

Class Summary
AcknowledgeMessage  
ConnectMessage  
ConnectOperation Connects to an existing Kademlia network using a bootstrap node.
ConnectReceiver Receives a ConnectMessage and sends an AcknowledgeMessage as reply.
DataLookupMessage  
DataLookupOperation Looks up the specified identifier and returns the value associated with it.
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.
DataMessage  
HashMessage  
HashReceiver Receives a HashMessage and compares it to hashes generated locally.
HashRequestMessage  
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.
LookupMessage  
MessageFactoryImpl Essentially this class translates numbers into classes.
NodeLookupMessage  
NodeLookupOperation Finds the K closest nodes to a specified identifier.
NodeLookupReceiver Handles incoming LookupMessages by sending a NodeReplyMessage containing the K closest nodes to the requested identifier.
NodeReplyMessage  
Operation User initiated operations should be subclasses of this class.
OriginMessage A message containing the origin node.
OriginReceiver Handles updating of the local space when messages are received and provides easy implementation of more specific receivers.
RefreshOperation Refreshes all buckets.
RemoveMessage  
RemoveOperation Removes the mapping at the K closest nodes to the key of the mapping.
RemoveReceiver Handles incoming remove messages by removing the mapping with the specified key from the local map.
ResponsibleOperation Finds the K closest nodes to a specified identifier and returns their associated peer information objects.
RestoreOperation Refreshes all buckets and sends HashMessages to all nodes that are among the K closest to mappings stored at this node.
StoreMessage Message representing a mapping from a key to a value.
StoreOperation Stores the mapping at the K closest nodes to the key.
StoreReceiver Receives a StoreMessage and stores the mapping if a mapping with the same key and a newer timestamp does not exist.
StoreRequestMessage  
StoreRequestReceiver Receives an incoming StoreRequestMessage and issues StoreMessages for mappings in the requested interval that should be available at the origin node.
 



Copyright © 2010. All Rights Reserved.