bamboo.router
Class PrintLeafSets

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

public class PrintLeafSets
extends StandardStage
implements SingleThreadedEventHandlerIF

Prints the leaf sets of a ring, given a gateway node.

Version:
$Id: PrintLeafSets.java,v 1.15 2004/02/13 04:28:01 srhea Exp $
Author:
Sean C. Rhea

Field Summary
protected  Map done
           
protected  ostore.util.NodeId gateway
           
protected  Map info
           
protected  Set pending
           
 
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
PrintLeafSets()
           
 
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

gateway

protected ostore.util.NodeId gateway

done

protected Map done

info

protected Map info

pending

protected Set pending
Constructor Detail

PrintLeafSets

public PrintLeafSets()
              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