|
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 | ||||||||
java.lang.Object
|
+--seda.sandStorm.lib.aSocket.aSocketEventHandler
|
+--seda.sandStorm.lib.aSocket.ReadEventHandler
Internal event handler used to process socket read events.
| Fields inherited from class seda.sandStorm.lib.aSocket.aSocketEventHandler |
eventQ, selsource |
| Constructor Summary | |
(package private) |
ReadEventHandler()
|
| Method Summary | |
void |
destroy()
Called when an event handler is destroyed. |
void |
handleEvent(QueueElementIF qel)
Handle the event corresponding to the given QueueElementIF. |
void |
handleEvents(QueueElementIF[] qelarr)
Handle the events corresponding to the given QueueElementIF array. |
void |
init(ConfigDataIF config)
Called when an event handler is initialized. |
| Methods inherited from class seda.sandStorm.lib.aSocket.aSocketEventHandler |
getSelectSource |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
ReadEventHandler()
| Method Detail |
public void init(ConfigDataIF config)
EventHandlerIFinit in interface EventHandlerIFinit in class aSocketEventHandlerseda.sandStorm.api.EventHandlerIFconfig - 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()
EventHandlerIFdestroy in interface EventHandlerIFdestroy in class aSocketEventHandlerseda.sandStorm.api.EventHandlerIFjava.lang.Exception - The EventHandler can indicate an
error to the runtime during shutdown by throwing an
Exception.public void handleEvent(QueueElementIF qel)
EventHandlerIFhandleEvent in interface EventHandlerIFhandleEvent in class aSocketEventHandlerseda.sandStorm.api.EventHandlerIFEventHandlerException - The application may throw an
exception to indicate an error condition during event processing.public void handleEvents(QueueElementIF[] qelarr)
EventHandlerIFhandleEvents in interface EventHandlerIFhandleEvents in class aSocketEventHandlerseda.sandStorm.api.EventHandlerIFEventHandlerException - The application may throw an
exception to indicate an error condition during event processing.
|
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 | ||||||||