Package sg.edu.nus.peer.event

Interface Summary
ActionListener The listener interface for receiving networking events.
 

Class Summary
ActionAdapter An abstract adapter class for receiving network events.
ActivateActiveStatus Used for activating the status of a super peer after a period of time.
ActivateFailedPosition Used for activating the status of a super peer after a period of time.
ActivateStablePosition Used for activating stable position of a super peer.
AttachListener Implement a listener for processing ATTACH_REQUEST message.
ForceOutListener Implement a listener for processing FORCE_OUT message.
JoinListener Implements a listener for processing JOIN_SUCCESS or JOIN_FAILURE messages.
LeaveListener Implement a listener when a peer leaves the network or detaches from a super peer.
LoginListener Implement a listener for processing LOGIN message.
PingListener Implement a listener when processing a PING message.
PongListener Implement a listener when processing a PONG message.
RegisterListener Implement a listener for processing REGISTER message.
SPDeleteListener Implement a listener for processing SP_DELETE message.
SPGeneralAction Implement general methods, which may be used by a variety of listeners
SPInsertBundleListener Implement a listener for processing SP_INSERT_BUNDLE message.
SPInsertListener Implement a listener for processing SP_INSERT message.
SPJoinAcceptListener Implement a listener for processing when peer is accepted to join the network.
SPJoinForceForwardListener Implement a listener for processing SP_JOIN_FORCED_FORWARD message.
SPJoinForceListener Implement a listener for processing SP_JOIN_FORCED message.
SPJoinListener Implement a listener for processing SP_JOIN message.
SPJoinSplitDataListener Implement a listener for processing SP_JOIN_SPLIT_DATA message.
SPLBFindLightlyNodeListener Implement a listener for processing SP_LB_FIND_LIGHTLY_NODE message.
SPLBGetLoadInfoListener Implement a listener for processing SP_LB_GET_LOAD_INFO message.
SPLBGetLoadInfoReplyListener Implement a listener for processing SP_LB_GET_LOAD_INFO_REPLY message.
SPLBGetLoadInfoResendListener Implement a listener for processing SP_LB_GET_LOAD_INFO_RESEND message.
SPLBNoRotationNodeListener Implement a listener for processing SP_LB_NO_ROTATION_NODE message.
SPLBRotateUpdateAdjacentListener Implement a listener for processing SP_LB_ROTATE_UPDATE_ADJACENT message.
SPLBRotateUpdateAdjacentReplyListener Implement a listener for processing SP_LB_ROTATE_UPDATE_ADJACENT_REPLY message.
SPLBRotateUpdateChildListener Implement a listener for processing SP_LB_ROTATE_UPDATE_CHILD message.
SPLBRotateUpdateChildReplyListener Implement a listener for processing SP_LB_ROTATE_UPDATE_CHILD_REPLY message.
SPLBRotateUpdateParentListener Implement a listener for processing SP_LB_ROTATE_UPDATE_PARENT message.
SPLBRotateUpdateParentReplyListener Implement a listener for processing SP_LB_ROTATE_UPDATE_PARENT_REPLY message.
SPLBRotateUpdateRTListener Implement a listener for processing SP_LB_ROTATE_UPDATE_ROUTING_TABLE message.
SPLBRotateUpdateRTReplyListener Implement a listener for processing SP_LB_ROTATE_UPDATE_ROUTING_TABLE_REPLY message.
SPLBRotationPullListener Implement a listener for processing SP_LB_ROTATION_PULL message.
SPLBSplitDataListener Implement a listener for processing SP_LB_SPLIT_DATA message.
SPLBSplitDataResendListener Implement a listener for processing SP_LB_SPLIT_DATA_RESEND message.
SPLBStablePositionListener Implement a listener for processing SP_LB_STABLE_POSITION message.
SPLeaveFindReplaceListener Implement a listener for processing SP_LEAVE_FIND_REPLACEMENT_NODE message.
SPLeaveFindReplaceReplyListener Implement a listener for processing SP_LEAVE_FIND_REPLACEMENT_NODE_REPLY message.
SPLeaveListener Implement a listener for processing SP_LEAVE message.
SPLeaveNotifyListener Implement a listener for processing SP_LEAVE_NOTIFY message.
SPLeaveReplacementListener Implement a listener for processing SP_LEAVE_FIND_REPLACEMENT_NODE message.
SPLeaveUrgentListener Implement a listener for processing SP_LEAVE_URGENT message.
SPLIAdjacentListener Implement a listener for processing SP_LI_ADJACENT message.
SPLIAdjacentReplyListener Implement a listener for processing SP_LI_ADJACENT_REPLY message.
SPLIAdjacentRootListener Implement a listener for processing SP_LI_ADJACENT_ROOT message.
SPLIAdjacentRootReplyListener Implement a listener for processing SP_LI_ADJACENT_ROOT_REPLY message.
SPLIChildReplyListener Implement a listener for processing SP_LI_CHILD_REPLY message.
SPLIRoutingTableListener Implement a listener for processing SP_LI_ROUTING_TABLE message.
SPLIRoutingTableReplyListener Implement a listener for processing SP_LI_ROUTING_TABLE_REPLY message.
SPLIUpdateParentListener Implement a listener for processing SP_LI_UPDATE_PARENT message.
SPLoadBalance Used for doing local load balancing between adjacent nodes
SPNotifyFailureListener Implement a listener for processing SP_NOTIFY_FAILURE message.
SPNotifyImbalanceListener Implement a listener for processing SP_NOTIFY_IMBALANCE message.
SPPassClientListener Implement a listener for processing SP_PASS_CLIENT message.
SPSearchExactBundleListener Implement a listener for processing SP_SEARCH_EXACT_BUNDLE message.
SPSearchExactListener Implement a listener for processing SP_SEARCH_EXACT message.
SPSearchExactResultListener Implement a listener for processing SP_SEARCH_EXACT_RESULT message.
SPSearchPairListener Implement a listener for processing SP_SEARCH_PAIR message.
SPSearchRangeListener Implement a listener for processing SP_SEARCH_RANGE message.
SPSearchRangeResultListener Implement a listener for processing SP_SEARCH_RANGE_RESULT message.
SPUpdateAdjacentLinkListener Implement a listener for processing SP_UPDATE_ADJACENT_LINK message.
SPUpdateMinMaxValueListener Implement a listener for processing SP_UPDATE_MAX_MIN_VALUE message.
SPUpdateRouteTableDirectlyListener Implement a listener for processing SP_UPDATE_ROUTING_TABLE_DIRECTLY message.
SPUpdateRouteTableIndirectlyListener Implement a listener for processing SP_UPDATE_ROUTING_TABLE_INDIRECTLY message.
SPUpdateRouteTableListener Implement a listener for processing SP_UPDATE_ROUTING_TABLE message.
SPUpdateRouteTableReplyListener Implement a listener for processing SP_UPDATE_ROUTING_TABLE_REPLY message.