| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|
com.newstep.solid.processor
public abstract class EventHandler
provides a common interface for event handling. EventHandler implementations
contain the application business logic.
Abstract.
| Field Summary |
protected LinkedList |
|
protected ReentrantLock |
|
| Constructor Summary |
public void |
|
| Method Summary |
public final void |
|
public abstract void |
|
public abstract void |
|
protected LinkedList eventBuffer
Multiplicity:
1
Custom properties
associates:
com.newstep.solid.event.Event
protected ReentrantLock eventBufferLock
Multiplicity:
1
public void EventHandler ()
Stereotype:
create
public final void deliverEvent (Event event)
adds the event to the handler's queue
Parameters:
event
to deliver
Final.
public abstract void doHandle ()
Abstract.
Throws:
EventHandlerException
public abstract void handle (Event event)
handles the specified event
Parameters:
event
the event to handle
Abstract.
Throws:
EventHandlerException
| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|