ostore.introspect
Class SDMBuilderTest

java.lang.Object
  |
  +--ostore.util.StandardStage
        |
        +--ostore.introspect.SDMBuilderTest
All Implemented Interfaces:
EventHandlerIF

public class SDMBuilderTest
extends StandardStage

Test for SDMBuilder.

Configuration parameters:

 model          [string]    - name of model to sent events to
 period         [string]    - interval between each new event
 

Version:
$Id: SDMBuilderTest.java,v 1.3 2003/04/03 02:03:45 jeffpang Exp $
Author:
Jeff Pang
See Also:
SDMBuilder, SemanticDistanceModel

Field Summary
static String class_tag
           
static boolean DEBUG
           
protected  String model
          Name of the model to use.
static String MODEL_STR
           
protected  String name
          Name of stage.
static String PERIOD_STR
           
protected  Signal signal
          Signal handler.
 
Fields inherited from class ostore.util.StandardStage
classifier, event_types, inb_msg_types, logger, my_node_id, my_sink, outb_msg_types, resender, resender_tokens, serializable_types, sim_running, tag
 
Constructor Summary
SDMBuilderTest()
           
 
Method Summary
 void handleEvent(QueueElementIF elem)
           
 void init(ConfigDataIF config)
           
 
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

DEBUG

public static final boolean DEBUG
See Also:
Constant Field Values

class_tag

public static final String class_tag
See Also:
Constant Field Values

PERIOD_STR

public static final String PERIOD_STR
See Also:
Constant Field Values

MODEL_STR

public static final String MODEL_STR
See Also:
Constant Field Values

name

protected String name
Name of stage.


model

protected String model
Name of the model to use.


signal

protected Signal signal
Signal handler.

Constructor Detail

SDMBuilderTest

public SDMBuilderTest()
Method Detail

handleEvent

public void handleEvent(QueueElementIF elem)
                 throws UnknownEventException
UnknownEventException

init

public void init(ConfigDataIF config)
          throws Exception
Specified by:
init in interface EventHandlerIF
Overrides:
init in class StandardStage
Exception