ostore.network
Class SimpleTest
java.lang.Object
|
+--ostore.network.SimpleTest
- All Implemented Interfaces:
- EventHandlerIF, SingleThreadedEventHandlerIF
- public class SimpleTest
- extends Object
- implements SingleThreadedEventHandlerIF, EventHandlerIF
TODO
- Version:
- $Id: SimpleTest.java,v 1.2 2002/08/09 23:19:20 srhea Exp $
- Author:
- Sean C. Rhea
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TAG
protected String TAG
DEBUG
protected static final boolean DEBUG
- See Also:
- Constant Field Values
lowest_nodeid
protected NodeId lowest_nodeid
this_sink
protected SinkIF this_sink
nodeid_to_classifier
protected Map nodeid_to_classifier
peers
protected LinkedList peers
rand
protected Random rand
msgnum
protected int msgnum
msgcnt
protected int msgcnt
rcvcnt
protected int rcvcnt
start
protected boolean start
SimpleTest
public SimpleTest()
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)