|
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 | +--mdw.sandStorm.lib.aSocket.aSocketEventHandler | +--mdw.sandStorm.lib.aSocket.ReadEventHandler
Internal event handler used to process socket read events.
Fields inherited from class mdw.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 mdw.sandStorm.lib.aSocket.aSocketEventHandler |
getSelectSource |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
ReadEventHandler()
Method Detail |
public void init(ConfigDataIF config)
EventHandlerIF
init
in interface EventHandlerIF
init
in class aSocketEventHandler
mdw.sandStorm.api.EventHandlerIF
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()
EventHandlerIF
destroy
in interface EventHandlerIF
destroy
in class aSocketEventHandler
mdw.sandStorm.api.EventHandlerIF
java.lang.Exception
- The EventHandler can indicate an
error to the runtime during shutdown by throwing an
Exception.public void handleEvent(QueueElementIF qel)
EventHandlerIF
handleEvent
in interface EventHandlerIF
handleEvent
in class aSocketEventHandler
mdw.sandStorm.api.EventHandlerIF
EventHandlerException
- The application may throw an
exception to indicate an error condition during event processing.public void handleEvents(QueueElementIF[] qelarr)
EventHandlerIF
handleEvents
in interface EventHandlerIF
handleEvents
in class aSocketEventHandler
mdw.sandStorm.api.EventHandlerIF
EventHandlerException
- 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 |