Creating a reactive class that consumes events
About this task
To create a reactive class that consumes events without a statechart:
Procedure
Create a class.
Add an event reception or a triggered operation to the class.
Override the
OMReactive::
processEvent
method, which implements the event consumption algorithm.
Feedback