Package peersim.pastry

Interface Summary
MSPastryProtocol.Listener Event Handler container for managing the receiving of a message
 

Class Summary
CustomDistribution This control initializes the whole network (that was already created by peersim) by assigning a unique NodeId randomly generated, to every node (it does nothing else).
LeafSet LeafSet class encapsulate functionalities of a Leaf Set table in a Pastry Node, allowing automatic "intellingent" adding of the entries, and facilitating extraction of information
Message Message class provide all functionalities to magage the various messages, principally LOOKUP messages (messages from application level sender destinated to another application level).
Types Of messages:
(application messages)
- MSG_LOOKUP: indicates that the body Object containes information to application level of the recipient

(service internal protocol messages)
- MSG_JOINREQUEST: message containing a join request of a node, the message is passed between many pastry nodes accorting to the protocol
- MSG_JOINREPLY: according to protocol, the body transport information related to a join reply message
- MSG_LSPROBEREQUEST:according to protocol, the body transport information related to a probe request message
- MSG_LSPROBEREPLY: not used in the current implementation
- MSG_SERVICEPOLL: internal message used to provide cyclic cleaning service of dead nodes
The body for message types MSG_JOINREQUEST and MSG_JOINREPLY if defined by the class Message.BodyJoinRequestReply
Message.BodyJoinRequestReply  
MSPastryCommonConfig Fixed Parameters of a pastry network.
MSPastryObserver  
MSPastryProtocol  
RoutingTable  
StateBuilder Title: MSPASTRY
TrafficGenerator This "test" control generates random traffic between random nodes (source and destination).
Turbulence Turbulcen class is only for test/statistical purpose.
UniformRandomGenerator This initializator assign to the Nodes a nodeId (stored in the protocol MSPastryProtocol) by using this 128-bit (32 byte) random generator.
Util Some utility and mathematical function to work with numbers and strings.