bamboo.lss
Class DustDevil

java.lang.Object
  extended by bamboo.lss.DustDevil

public class DustDevil
extends Object

Loads a SandStorm .cfg file, creates all the stages, replaces the network stage with bamboo.lss.Network, sends each stage a StagesInitializedSignal event, and then calls ASyncCore.amain (). Largely adopted from SOSS code.

Version:
$Id: DustDevil.java,v 1.23 2004/07/16 13:22:10 bkarp Exp $
Author:
Sean C. Rhea

Nested Class Summary
protected  class DustDevil.MyClassifierAlarmCB
           
protected  class DustDevil.MyClassifierTimerCB
           
 
Field Summary
protected static ASyncCore acore
           
protected  org.apache.log4j.Logger logger
           
 
Constructor Summary
DustDevil()
           
 
Method Summary
static ASyncCore acore_instance()
           
protected  void create_network_stage(String name, String node_id_str, StageManager mgr, ConfigData config_data, LinkedList classifiers)
           
 EventHandlerIF create_network(InetSocketAddress addr)
           
 ostore.dispatch.Classifier.TimerCB create_timer_cb(ostore.dispatch.Classifier classifier)
           
 void init_nodes(SandstormConfig config, StageManager mgr)
           
 StageManager main(Reader reader)
           
 StageManager main(SandstormConfig cfg)
           
 StageManager main(String cfg_filename)
           
static void main(String[] args)
           
static void set_acore_instance(ASyncCore value)
           
static void usage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected org.apache.log4j.Logger logger

acore

protected static ASyncCore acore
Constructor Detail

DustDevil

public DustDevil()
Method Detail

acore_instance

public static ASyncCore acore_instance()

set_acore_instance

public static void set_acore_instance(ASyncCore value)

init_nodes

public void init_nodes(SandstormConfig config,
                       StageManager mgr)

create_network

public EventHandlerIF create_network(InetSocketAddress addr)
                              throws IOException
Throws:
IOException

create_timer_cb

public ostore.dispatch.Classifier.TimerCB create_timer_cb(ostore.dispatch.Classifier classifier)

main

public StageManager main(Reader reader)
                  throws Exception
Throws:
Exception

main

public StageManager main(String cfg_filename)
                  throws Exception
Throws:
Exception

create_network_stage

protected void create_network_stage(String name,
                                    String node_id_str,
                                    StageManager mgr,
                                    ConfigData config_data,
                                    LinkedList classifiers)
                             throws Exception
Throws:
Exception

main

public StageManager main(SandstormConfig cfg)
                  throws Exception
Throws:
Exception

usage

public static void usage()

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception