ostore.apps.traces
Class TraceClient

java.lang.Object
  |
  +--ostore.apps.traces.TraceClient
All Implemented Interfaces:
EventHandlerIF

public class TraceClient
extends Object
implements EventHandlerIF

A test client that submits client requests generated by TraceIterators.

Version:
$Id: TraceClient.java,v 1.31 2004/05/13 19:43:07 hweather Exp $
Author:
Hakim Weatherspoon

Nested Class Summary
static class TraceClient.LocateMasterMsg
           
static class TraceClient.MasterQuery
           
static class TraceClient.MasterTag
           
static class TraceClient.ToClientMsg
           
 
Field Summary
protected  String _stageName
          The name by which to refer to this stage.
 
Constructor Summary
TraceClient()
           
 
Method Summary
 void destroy()
           
 void handleEvent(QueueElementIF item)
           
 void handleEvents(QueueElementIF[] items)
           
 void init(ConfigDataIF config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_stageName

protected String _stageName
The name by which to refer to this stage. It should be the name of the corresponding StageIF.

Constructor Detail

TraceClient

public TraceClient()
Method Detail

handleEvent

public void handleEvent(QueueElementIF item)
                 throws UnknownEventException
Specified by:
handleEvent in interface EventHandlerIF
UnknownEventException

handleEvents

public void handleEvents(QueueElementIF[] items)
                  throws UnknownEventException
Specified by:
handleEvents in interface EventHandlerIF
UnknownEventException

init

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

destroy

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