sg.edu.nus.peer.event
Class ActivateStablePosition

java.lang.Object
  extended by sg.edu.nus.peer.event.ActivateStablePosition

public class ActivateStablePosition
extends java.lang.Object

Used for activating stable position of a super peer. Usually during rotation process, a super peer is activated after receiving enough feedbacks from its parent, children and neighbor nodes. However, in some cases, it may not received enough replies. As a result, it cannot be activated.

Version:
1.0 2006-2-24
Author:
Vu Quang Hieu

Constructor Summary
ActivateStablePosition(ServerPeer serverpeer, TreeNode treeNode, int seconds)
           
 
Method Summary
 TreeNode getTreeNode()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivateStablePosition

public ActivateStablePosition(ServerPeer serverpeer,
                              TreeNode treeNode,
                              int seconds)
Method Detail

getTreeNode

public TreeNode getTreeNode()

stop

public void stop()