bamboo.router.test
Class RoutePerf

java.lang.Object
  extended by bamboo.util.StandardStage
      extended by bamboo.router.test.RoutePerf
All Implemented Interfaces:
EventHandlerIF, SingleThreadedEventHandlerIF

public class RoutePerf
extends StandardStage
implements SingleThreadedEventHandlerIF

Tests the quality of the routing tables, for use under the simulator only.

Version:
$Id: RoutePerf.java,v 1.2 2003/12/08 07:05:10 srhea Exp $
Author:
Sean C. Rhea

Nested Class Summary
protected static class RoutePerf.Alarm
           
static class RoutePerf.Payload
           
 
Field Summary
protected static long app_id
           
protected  Map deliveries
           
protected  BigInteger dest
           
protected  int period
           
protected  int seq
           
 
Fields inherited from class bamboo.util.StandardStage
acore, classifier, DEBUG, event_types, inb_msg_types, logger, my_node_id, my_sink, outb_msg_types, sim_running
 
Constructor Summary
RoutePerf()
           
 
Method Summary
 void handleEvent(QueueElementIF item)
           
 void init(ConfigDataIF config)
           
 
Methods inherited from class bamboo.util.StandardStage
BUG, BUG, BUG, config_get_boolean, config_get_double, config_get_int, config_get_string, configGetInt, destroy, dispatch, enqueue, handleEvents, lookup_stage, now_ms, timer_ms
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

app_id

protected static final long app_id

period

protected int period

seq

protected int seq

dest

protected BigInteger dest

deliveries

protected Map deliveries
Constructor Detail

RoutePerf

public RoutePerf()
          throws Exception
Throws:
Exception
Method Detail

init

public void init(ConfigDataIF config)
          throws Exception
Specified by:
init in interface EventHandlerIF
Overrides:
init in class StandardStage
Throws:
Exception

handleEvent

public void handleEvent(QueueElementIF item)
Specified by:
handleEvent in interface EventHandlerIF
Overrides:
handleEvent in class StandardStage