|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object seda.sandStorm.lib.aSocket.aSocketEventHandler
abstract class aSocketEventHandler
Abstract superclass of the event handlers used by aSocket.
Field Summary | |
---|---|
private static boolean |
DEBUG
|
protected SinkIF |
eventQ
|
protected SelectSourceIF |
selsource
|
Constructor Summary | |
---|---|
aSocketEventHandler()
|
Method Summary | |
---|---|
abstract void |
destroy()
Called when an event handler is destroyed. |
(package private) SelectSourceIF |
getSelectSource()
|
abstract void |
handleEvent(QueueElementIF qel)
Handle the event corresponding to the given QueueElementIF. |
abstract void |
handleEvents(QueueElementIF[] qelarr)
Handle the events corresponding to the given QueueElementIF array. |
abstract void |
init(ConfigDataIF config)
Called when an event handler is initialized. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final boolean DEBUG
protected SinkIF eventQ
protected SelectSourceIF selsource
Constructor Detail |
---|
aSocketEventHandler()
Method Detail |
---|
SelectSourceIF getSelectSource()
public abstract void init(ConfigDataIF config)
EventHandlerIF
init
in interface EventHandlerIF
config
- The set of configuration parameters for the stage.public abstract void destroy()
EventHandlerIF
destroy
in interface EventHandlerIF
public abstract void handleEvent(QueueElementIF qel)
EventHandlerIF
handleEvent
in interface EventHandlerIF
public abstract void handleEvents(QueueElementIF[] qelarr)
EventHandlerIF
handleEvents
in interface EventHandlerIF
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |