bamboo.router
Class LookupTest

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

public class LookupTest
extends StandardStage
implements SingleThreadedEventHandlerIF


Field Summary
 Router.LookupCb lookup_cb
           
protected  double mean_period_ms
           
 ASyncCore.TimerCB next_op_cb
           
protected  Random rand
           
 ASyncCore.TimerCB ready_cb
           
protected  Router router
           
 
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
LookupTest()
           
 
Method Summary
 void init(ConfigDataIF config)
           
 void next_op()
           
protected static double random_exponential(double mean, Random rand)
           
 
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, handleEvent, 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

router

protected Router router

rand

protected Random rand

mean_period_ms

protected double mean_period_ms

ready_cb

public ASyncCore.TimerCB ready_cb

next_op_cb

public ASyncCore.TimerCB next_op_cb

lookup_cb

public Router.LookupCb lookup_cb
Constructor Detail

LookupTest

public LookupTest()
Method Detail

random_exponential

protected static double random_exponential(double mean,
                                           Random rand)

init

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

next_op

public void next_op()