Sea 0.4.0

Uses of Class
gov.lbl.dsd.sea.Stage

Packages that use Stage
gov.lbl.dsd.sea Framework for Stage Event Architecture (SEA) of LBL Distributed Systems Department. 
gov.lbl.dsd.sea.demo Demos for gov.lbl.dsd.sea package. 
gov.lbl.dsd.sea.event Generally useful events for users of the SEA framework. 
gov.lbl.dsd.sea.nio Efficient and scalable non-blocking asynchronous network agent connectors for the Staged Event Architecture Framework. 
gov.lbl.dsd.sea.nio.event Request and response events for non-blocking network agents from the gov.lbl.dsd.sea.nio package. 
 

Uses of Stage in gov.lbl.dsd.sea
 

Methods in gov.lbl.dsd.sea that return Stage
 Stage StageManager.addStage(Stage stage)
          Adds the given stage to the set of managed stages.
 Stage StageManager.createStage(EventHandler handler)
          Creates and returns a managed stage with the given event handler.
 Stage StageManager.createStage(String stageName, EventHandler handler)
          Creates and returns a managed stage with the given name and event handler.
 Stage StageManager.createStage(String stageName, EventHandler handler, ExceptionHandler exceptionHandler)
          Creates and returns a managed stage with the given name, event handler and exceptionHandler.
 Stage StageManager.getStage(String stageName)
          Returns the managed stage with the given name, or null if no such stage is currently managed.
 Stage Stage.start()
          Initializes the stage and its event handler; Must be called before enqueuing events (otherwise enqueues are ignored); This method can be called at any time but only has an effect only if the stage is stopped.
 

Methods in gov.lbl.dsd.sea with parameters of type Stage
 Stage StageManager.addStage(Stage stage)
          Adds the given stage to the set of managed stages.
 void ExceptionHandler.onException(RuntimeException cause, Object causingEvent, Stage source)
          Called if a RuntimeException is raised within EventHandler.handle(Object) of the given source stage.
 

Uses of Stage in gov.lbl.dsd.sea.demo
 

Constructors in gov.lbl.dsd.sea.demo with parameters of type Stage
SimpleHTTPEventHandler(Stage sink)
          Creates a handler that enqueues HTTP responses onto the given sink
SimpleHTTPEventHandler(Stage sink, HttpClient client)
           
ByteArrayEvent(Stage source, byte[] bytes)
           
ByteArrayEvent(Stage source, byte[] bytes, Object info)
           
 

Uses of Stage in gov.lbl.dsd.sea.event
 

Methods in gov.lbl.dsd.sea.event that return Stage
 Stage ExceptionEvent.getSource()
           
 Stage CallbackEvent.getSource()
           
 

Constructors in gov.lbl.dsd.sea.event with parameters of type Stage
IllegalEventException(Object causingEvent, Stage source)
          Constructs a new exception with the specified detail message and causing event.
IllegalEventException(String message, Object causingEvent, Stage source)
          Constructs a new exception with the specified detail message and causing event.
GenericCallbackEvent(Stage source, Object msg)
           
GenericCallbackEvent(Stage source, Object msg, Object info)
           
ExceptionEvent(Object causingEvent, Stage source)
          Constructs a new exception.
ExceptionEvent(Throwable cause, Object causingEvent, Stage source)
          Constructs a new exception.
ExceptionEvent(String message, Throwable cause, Object causingEvent, Stage source)
          Constructs a new exception.
CallbackEvent(Stage source)
           
 

Uses of Stage in gov.lbl.dsd.sea.nio
 

Methods in gov.lbl.dsd.sea.nio with parameters of type Stage
 NetAgent NetAgent.addListenPort(Stage observer, int port)
          Tells the agent to start listening as a server for TCP connections on the given port.
 NetAgent NetAgent.addConnectAddress(Stage observer, InetSocketAddress address)
          Tells the agent to start a TCP client connection to the given remote address.
 

Uses of Stage in gov.lbl.dsd.sea.nio.event
 

Constructors in gov.lbl.dsd.sea.nio.event with parameters of type Stage
ChannelRequest.Register(Stage observer, SelectableChannel channel, int interestOps)
           
ChannelRequest.Register(Stage observer, SelectableChannel channel, int interestOps, Object attachment)
           
 


Sea 0.4.0