dd.trigger
Class TriggerStage

java.lang.Object
  |
  +--ostore.util.StandardStage
        |
        +--dd.trigger.TriggerStage
All Implemented Interfaces:
EventHandlerIF, SingleThreadedEventHandlerIF

public class TriggerStage
extends StandardStage
implements SingleThreadedEventHandlerIF

Version:
$Id: TriggerStage.java,v 1.6 2004/05/19 06:33:43 hweather Exp $
Author:
Hakim Weatherspoon

Field Summary
protected static long appId
          Unique identifier for this stage.
static int STATE_REPAIR_INIT
           
static int STATE_REPAIR_REQ_SENT
           
static int STATE_REPAIR_RESP_RECVD
           
static int STATE_REPAIR_RESP_TIMEOUT
           
static String[] STATE_REPAIR_STRING
           
static int STATE_REPAIR_TIMEOUT
           
 
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
TriggerStage()
          Constructor: Creates a new TriggerStage stage.
 
Method Summary
 void handleEvent(QueueElementIF item)
          Specified by seda.sandStorm.api.EventHandlerIF
 void init(ConfigDataIF config)
          Specified by seda.sandStorm.api.EventHandlerIF
 
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

appId

protected static final long appId
Unique identifier for this stage.


STATE_REPAIR_INIT

public static final int STATE_REPAIR_INIT
See Also:
Constant Field Values

STATE_REPAIR_REQ_SENT

public static final int STATE_REPAIR_REQ_SENT
See Also:
Constant Field Values

STATE_REPAIR_RESP_RECVD

public static final int STATE_REPAIR_RESP_RECVD
See Also:
Constant Field Values

STATE_REPAIR_RESP_TIMEOUT

public static final int STATE_REPAIR_RESP_TIMEOUT
See Also:
Constant Field Values

STATE_REPAIR_TIMEOUT

public static final int STATE_REPAIR_TIMEOUT
See Also:
Constant Field Values

STATE_REPAIR_STRING

public static final String[] STATE_REPAIR_STRING
Constructor Detail

TriggerStage

public TriggerStage()
             throws Exception
Constructor: Creates a new TriggerStage 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