| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|
com.newstep.solid.processor
|
Class SequentialEventHandler
|
|
+--com.newstep.solid.processor.SequentialEventHandler
public abstract class SequentialEventHandler
Provides the basis for implementing buisness logic when multiple events need
to be processed in order one at a time.
Abstract.
Links:
Kernel Association Association Link
the Event that will be handled
Associates type:
aggregation
Client cardinality:
0..*
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Directed.
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
private
Custom properties
link:
aggregation
Generalization Generalization Link
Provides the basis for implementing buisness logic when multiple events need
to be processed in order one at a time.
| Field Summary |
|
|
private int |
|
| Constructor Summary |
public void |
|
| Method Summary |
public void |
|
private boolean |
|
private boolean |
|
private Event currentEvent
the Event that will be handled
Multiplicity:
1
private int outstandingEvents
Counter of outstanding evens (i.e. those that should have been handled
already but are still waiting for a previous one to finish).
Multiplicity:
1
public void SequentialEventHandler ()
default constructor
Stereotype:
create
public void doHandle ()
Throws:
EventHandlerException
private boolean postHandle ()
Determines if the event at the begining of the buffer can be handled
Return:
true if there's an event ready to be handled.
private boolean preHandle ()
Determines if the event at the begining of the buffer can be handled
Return:
true if there's an event ready to be handled.
| | | | SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
|
|