demo.repair
Class RepairDHTTest

java.lang.Object
  |
  +--ostore.util.StandardStage
        |
        +--demo.repair.RepairDHTTest
All Implemented Interfaces:
EventHandlerIF, SingleThreadedEventHandlerIF

public class RepairDHTTest
extends StandardStage
implements SingleThreadedEventHandlerIF

TODO

Version:
$Id: RepairDHTTest.java,v 1.14 2004/05/06 18:12:33 hweather Exp $
Author:
Hakim Weatherspoon

Nested Class Summary
static class RepairDHTTest.LocateLocalMsg
          Message of type DDLocateMsg.
static class RepairDHTTest.LocateMsg
          Message of type simulating DDLocateMsg by using a DDPrefixRouteMsg to route to the root of an object guid, test if the root has an object pointer, than the root node responds with a ResponseMsg that contains success or failure.
static class RepairDHTTest.Query
          Query is a DDQuery used in a DDLocateMsg of type LocateMsg to locate generic objects.
static class RepairDHTTest.QueryState
          QueryState is a wrapper class for the state passed along with the Query of type DDQuery used in a DDLocateMsg used to find generic objects.
static class RepairDHTTest.Response
          Response is the roots response to a LocateMsg.
static class RepairDHTTest.Tag
          Tag is the DDThresholdTag for generic objects.
 
Field Summary
protected  boolean _start
           
protected  long _startTime
           
 
Fields inherited from class ostore.util.StandardStage
classifier, DEBUG, event_types, inb_msg_types, logger, my_node_id, my_sink, outb_msg_types, resender, resender_tokens, serializable_types, sim_running, tag
 
Constructor Summary
RepairDHTTest()
          Constructor: Creates a new RepairDHTTest stage.
 
Method Summary
 void handleEvent(QueueElementIF item)
          Specified by seda.sandStorm.api.EventHandlerIF
 void init(ConfigDataIF config)
          Specified by seda.sandStorm.api.EventHandlerIF
protected  void initPublish()
          initPublish initializes the node(test) by publishing objects that other nodes will route to.
 
Methods inherited from class ostore.util.StandardStage
BUG, BUG, BUG, destroy, dispatch, enqueue, handleEvents, now_ms, now_us
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_start

protected boolean _start

_startTime

protected long _startTime
Constructor Detail

RepairDHTTest

public RepairDHTTest()
              throws Exception
Constructor: Creates a new RepairDHTTest stage.

Method Detail

handleEvent

public void handleEvent(QueueElementIF item)
                 throws EventHandlerException
Specified by seda.sandStorm.api.EventHandlerIF

Specified by:
handleEvent in interface EventHandlerIF
EventHandlerException

init

public void init(ConfigDataIF config)
          throws Exception
Specified by seda.sandStorm.api.EventHandlerIF

Specified by:
init in interface EventHandlerIF
Overrides:
init in class StandardStage
Exception

initPublish

protected void initPublish()
initPublish initializes the node(test) by publishing objects that other nodes will route to.