ostore.dtree
Class Test

java.lang.Object
  |
  +--ostore.dtree.Test
All Implemented Interfaces:
EventHandlerIF, SingleThreadedEventHandlerIF

public class Test
extends Object
implements EventHandlerIF, SingleThreadedEventHandlerIF

A test engine for the dissemination tree. This stage cooperates with similar stages on separate nodes. Each participates as one dissemination tree root and a client in the other trees. The configuration parameters tell the stage which trees to look for, and how many updates to send and expect to receive.

Version:
$Id: Test.java,v 1.41 2004/05/13 20:13:52 hweather Exp $
Author:
Dennis Geels

Nested Class Summary
static class Test.StopMsg
           
 
Constructor Summary
Test()
           
 
Method Summary
 void destroy()
           
 void handleEvent(QueueElementIF elem)
           
 void handleEvents(QueueElementIF[] elemarr)
           
 void init(ConfigDataIF config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Test

public Test()
Method Detail

handleEvent

public void handleEvent(QueueElementIF elem)
Specified by:
handleEvent in interface EventHandlerIF

handleEvents

public void handleEvents(QueueElementIF[] elemarr)
Specified by:
handleEvents in interface EventHandlerIF

init

public void init(ConfigDataIF config)
          throws UnknownHostException,
                 InvalidConfigFileException,
                 NodeId.BadFormat
Specified by:
init in interface EventHandlerIF
UnknownHostException
InvalidConfigFileException
NodeId.BadFormat

destroy

public void destroy()
Specified by:
destroy in interface EventHandlerIF