ostore.network
Class LatTest

java.lang.Object
  |
  +--ostore.network.LatTest
All Implemented Interfaces:
EventHandlerIF, SingleThreadedEventHandlerIF

public class LatTest
extends Object
implements SingleThreadedEventHandlerIF, EventHandlerIF

TODO

Version:
$Id: LatTest.java,v 1.3 2002/09/07 21:49:01 geels Exp $
Author:
Sean C. Rhea

Nested Class Summary
static class LatTest.Msg
           
 
Field Summary
protected  Classifier classifier
           
protected static boolean DEBUG
           
static byte[] dummy
           
protected  int job
           
protected  int msgcnt
           
protected  int msgnum
           
protected  int msgsz
           
protected  NodeId peer
           
protected  NodeId peer2
           
protected  int rcvcnt
           
protected static int RECEIVER
           
protected static int ROUTER
           
protected static int SENDER
           
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(NodeId dest)
           
 
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

job

protected int job

SENDER

protected static final int SENDER
See Also:
Constant Field Values

ROUTER

protected static final int ROUTER
See Also:
Constant Field Values

RECEIVER

protected static final int RECEIVER
See Also:
Constant Field Values

start_time

protected long start_time

classifier

protected Classifier classifier

peer

protected NodeId peer

peer2

protected NodeId peer2

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(NodeId dest)

BUG

protected static final void BUG(String msg)