Class
Tree
          
PREV CLASS NEXT CLASS
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD
 

com.newstep.solid.processor
Class EventHandler
Direct Known Subclasses:
       NonSequentialEventHandler, SequentialEventHandler

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
handle(Event event)
Field Detail
eventBuffer
protected LinkedList eventBuffer
 
Multiplicity:
1
Custom properties
associates:
com.newstep.solid.event.Event
 

eventBufferLock
protected ReentrantLock eventBufferLock
Multiplicity:
1
 
Constructor Detail
EventHandler
public void EventHandler ()
 
Stereotype:
create
 
Method Detail
deliverEvent
public final void deliverEvent (Event event)
 
adds the event to the handler's queue
Parameters:
event
to deliver
Final.
 

doHandle
public abstract void doHandle ()
 
Abstract.
Throws:
EventHandlerException
 

handle
public abstract void handle (Event event)
 
handles the specified event
Parameters:
event
the event to handle
Abstract.
Throws:
EventHandlerException
 

Class
Tree
          
PREV CLASS NEXT CLASS
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD