Package sg.edu.nus.protocol.body

Class Summary
Body Define the abstract body of the message.
ConfirmBody Implement confirmation data type defined by SpADE specification.
FeedbackBody Implement confirmation data type with online peer information.
ForceOutBody Used for sending a signal to either super peers or common peers to force them out the system.
SPDeleteBody Implement the message body used for deleting an existing data item in the super peer network.
SPDeleteBundleBody Implement the message body used for deleting a bundle of data items in the super peer network.
SPInsertBody Implement the message body used for inserting a new data item into the super peer network.
SPInsertBundleBody Implement the message body used for inserting a bundle of data items into the super peer network.
SPJoinAcceptBody Implement the message body used for sending acceptance to a new super peer
SPJoinBody Implement the message body used for joining a new super peer into the network
SPJoinForcedBody Implement the message body used for forcing a super peer node joins as a child of another super peer node.
SPJoinForcedForwardBody Implement the message body used for forwarding the JOINFORCED request
SPJoinSplitDataBody Implement the message body used for splitting the range and values of an left adjacent super peer when a new node joins as a left child of an existing node
SPLBFindLightlyNodeBody Implement the message body used for finding a lightly loaded node for a heavily loaded node
SPLBGetLoadInfoBody Implement the message body used for getting the status of the workload of adjacent super peers when a node is overloaded.
SPLBGetLoadInfoReplyBody Implement the message body used for replying workload information of a super peer to the requester
SPLBGetLoadInfoResendBody Implement the message body used for resending request of getting workload information to the requester since the receiver is not its adjacent
SPLBNoRotationNodeBody Implement the message body used for notifying an overloaded peer that no lightly loaded node is found
SPLBRotateUpdateAdjacentBody Implement the message body used for updating the adjacent links of a super peer when it changes its logical position due to network restructuring
SPLBRotateUpdateAdjacentReplyBody Implement the message body used for replying SPLBRotateUpdateAdjacent protocol
SPLBRotateUpdateChildBody Implement the message body used for updating the child links of a super peer when it changes its logical position due to network restructuring
SPLBRotateUpdateChildReplyBody Implement the message body used for replying SPLBRotateUpdateChild protocol
SPLBRotateUpdateParentBody Implement the message body used for updating the parent link of a super peer when it changes its logical position due to network restructuring
SPLBRotateUpdateParentReplyBody Implement the message body used for replying SPLBRotateUpdateParent protocol
SPLBRotateUpdateRoutingTableBody Implement the message body used for updating routing table of a super peer when it changes its logical position due to network restructuring
SPLBRotateUpdateRoutingTableReplyBody Implement the message body used for replying SPLBRotateUpdateRoutingTable protocol
SPLBRotationPullBody Implement the message body used for pulling a node to replace its position due to network restructuring
SPLBSplitDataBody Implement the message body used for splitting data from an overloaded node to its adjacent
SPLBSplitDataResendBody Implement the message body used for feedback the requester to resend the SPLBSplitData request since the current receiver is not its adjacent
SPLBStablePositionBody Implement the message body used for notifying co-owners of the same logical tree node to drop their slave nodes because the master node now is stable
SPLeaveBody Implement the message body used for notify the parent node when a child leaves the network
SPLeaveFindReplacementNodeBody Implement the message body used for finding a leaf node to replace the position of the leaving node
SPLeaveFindReplacementNodeReplyBody Implement the message body used for a node to reply the leaving node that it can come to replace the leaving node's position
SPLeaveNotifyBody Implement the message body used for notify all nodes except the parent when a node leaves the network
SPLeaveNotifyClientBody Implement the message body used for notify attached client nodes when a node leaves the network
SPLeaveReplacementBody Implement the message body used for a leaving node to pass it position to the replacement node
SPLeaveUrgentBody Implement the message body used for notify the parent node when a child leaves the network
SPLIAdjacentBody Implement the message body used for looking adjacent info in case of node failure
SPLIAdjacentReplyBody Implement the message body used for replying adjacent info in case of node failure
SPLIAdjacentRootBody Implement the message body used for looking adjacent info in case of node failure
SPLIAdjacentRootReplyBody Implement the message body used for replying adjacent info in case of node failure
SPLIChildReplyBody Implement the message body used for replying child links to the parent of the failed node
SPLIRoutingTableBody Implement the message body used for looking routing table info in case of node failure
SPLIRoutingTableReplyBody Implement the message body used for replying SPLIRoutingTable protocol
SPLIUpdateParentBody Implement the message body used for updating the parent link of children of the failed node
SPNotifyFailureBody Implement the message body used for notifying the failure of a node, and hence it needs to be recovered later
SPNotifyImbalanceBody Implement the message body used for notifying the imbalance of the stree structure, and hence it may be necessary to do network restructuring later
SPPassClientBody Implement the message body used for passing client peers when a node leaves the network
SPSearchExactBody Implement the message body used for performing exact query search.
SPSearchExactBundleBody Implement the message body used for performing a bundle of exact query search.
SPSearchExactResultBody Implement the message body used for returning the result of the exact search.
SPSearchPairBody Implement the message body used for performing pair query search including a keyword and a fieldID
SPSearchRangeBody Implement the message body used for performing the range search.
SPSearchRangeResultBody Implement the message body used for returning the result of the range search.
SPUpdateAdjacentLinkBody Implement the message body used for updating the adjacent link of a super peer.
SPUpdateMaxMinValueBody Implement the message body used for updating the maximal and minimal index value of the index range of a neighbor node
SPUpdateRoutingTableBody Implement the message body used for updating the routing table of a super peer.
SPUpdateRoutingTableDirectlyBody Implement the message body used for updating the routing table directly between two neighbor nodes
SPUpdateRoutingTableIndirectlyBody Implement the message body used for updating the routing table indirectly between two neighbor nodes via their parents
SPUpdateRoutingTableReplyBody Implement the message body used for replying SPUpdateRoutingTableDirectly protocol
UserBody This class is used to implement the user body which contains the user identifier and the password.