tapestry.impl.test
Class RepairDHTTest

java.lang.Object
  |
  +--ostore.util.StandardStage
        |
        +--tapestry.impl.test.RepairDHTTest
All Implemented Interfaces:
EventHandlerIF, SingleThreadedEventHandlerIF

public class RepairDHTTest
extends StandardStage
implements SingleThreadedEventHandlerIF

TODO

Version:
$Id: RepairDHTTest.java,v 1.1.1.1 2004/03/26 19:57:07 hweather Exp $
Author:
Hakim Weatherspoon

Nested Class Summary
static class RepairDHTTest.LocateLocalMsg
          Message of type TapestryLocateMsg.
static class RepairDHTTest.LocateMsg
          Message of type simulating TapestryLocateMsg by using a TapestryPrefixRouteMsg 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 TapestryQuery used in a TapestryLocateMsg 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 TapestryQuery used in a TapestryLocateMsg used to find generic objects.
static class RepairDHTTest.Response
          Response is the roots response to a LocateMsg.
static class RepairDHTTest.Tag
          Tag is the TapestryThresholdTag 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, my_node_id, my_sink, outb_msg_types, 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, 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.