|
More information: http://www.cs.berkeley.edu/~mdw/proj/seda/ | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
An EventHandlerIF represents an event handler - the basic unit of computation in SandStorm. This is the basic interface which all application modules implement.
| Method Summary | |
void |
destroy()
Called when an event handler is destroyed. |
void |
handleEvent(QueueElementIF elem)
Handle the event corresponding to the given QueueElementIF. |
void |
handleEvents(QueueElementIF[] elemarr)
Handle the events corresponding to the given QueueElementIF array. |
void |
init(ConfigDataIF config)
Called when an event handler is initialized. |
| Method Detail |
public void handleEvent(QueueElementIF elem)
throws EventHandlerException
EventHandlerException - The application may throw an
exception to indicate an error condition during event processing.
public void handleEvents(QueueElementIF[] elemarr)
throws EventHandlerException
EventHandlerException - The application may throw an
exception to indicate an error condition during event processing.
public void init(ConfigDataIF config)
throws java.lang.Exception
config - The set of configuration parameters for the stage.java.lang.Exception - The EventHandler can indicate an
error to the runtime during initialization by throwing an
Exception.
public void destroy()
throws java.lang.Exception
java.lang.Exception - The EventHandler can indicate an
error to the runtime during shutdown by throwing an
Exception.
|
More information: http://www.cs.berkeley.edu/~mdw/proj/seda/ | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||