org.planx.routing.kademlia.operation
Class RefreshOperation

java.lang.Object
  extended by org.planx.routing.kademlia.operation.RefreshOperation
All Implemented Interfaces:
Operation<Object>

public class RefreshOperation
extends Object
implements Operation<Object>

Refreshes all buckets.


Constructor Summary
RefreshOperation(Configuration conf, MessageServer server, Space space, Node local)
           
 
Method Summary
 Object execute()
          Starts the operation and returns when the operation is finished.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RefreshOperation

public RefreshOperation(Configuration conf,
                        MessageServer server,
                        Space space,
                        Node local)
Method Detail

execute

public Object execute()
               throws IOException,
                      RoutingException
Description copied from interface: Operation
Starts the operation and returns when the operation is finished.

Specified by:
execute in interface Operation<Object>
Returns:
null
Throws:
RoutingException - If a suboperation timed out
IOException - If a network error occurred


Copyright © 2004-2005 Plan-X. All Rights Reserved.