tapestry.impl.test
Class LatTest

java.lang.Object
  |
  +--tapestry.impl.test.LatTest
All Implemented Interfaces:
EventHandlerIF, SingleThreadedEventHandlerIF

public class LatTest
extends Object
implements SingleThreadedEventHandlerIF, EventHandlerIF

Modified latency test for Tapestry messages from Sean's Latency test for NetworkMessages.

Version:
$Id: LatTest.java,v 1.1.1.1 2004/03/26 19:57:07 hweather Exp $
Author:
Ben Y Zhao

Nested Class Summary
static class LatTest.Msg
           
 
Field Summary
protected  Classifier classifier
           
protected static boolean DEBUG
           
static byte[] dummy
           
protected  int msgcnt
           
protected  int msgnum
           
protected  int msgsz
           
protected  NodeId peer
           
protected  SecureHash peerguid
           
protected  int rcvcnt
           
protected  boolean start
           
protected  long start_time
           
protected  String TAG
           
protected  SinkIF this_sink
           
 
Constructor Summary
LatTest()
           
 
Method Summary
protected static void BUG(String msg)
           
 void destroy()
           
 void handleEvent(QueueElementIF item)
           
 void handleEvents(QueueElementIF[] items)
           
 void init(ConfigDataIF config)
           
protected  void send_new_msg()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG

protected String TAG

DEBUG

protected static final boolean DEBUG
See Also:
Constant Field Values

this_sink

protected SinkIF this_sink

msgnum

protected int msgnum

msgcnt

protected int msgcnt

rcvcnt

protected int rcvcnt

msgsz

protected int msgsz

start

protected boolean start

start_time

protected long start_time

classifier

protected Classifier classifier

peer

protected NodeId peer

peerguid

protected SecureHash peerguid

dummy

public static byte[] dummy
Constructor Detail

LatTest

public LatTest()
Method Detail

init

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

handleEvent

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

handleEvents

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

destroy

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

send_new_msg

protected void send_new_msg()

BUG

protected static final void BUG(String msg)