Asynchronous Messages

The RXF supports communication via asynchronous messages, also known as events. This is a strong mechanism for decoupling object-oriented software in run time behavior.

Event receptions in a UML model are usually consumed by classes, which have their behavior modeled via a statechart. An event can for example be perfectly used to trigger a transition to another state.

Dynamic Events vs Static Events

Events can either be dynamic or static with respect to allocation. In RXF V8 C++ Event receptions will be generated as operation calls and events will always be allocated in the reciever instance. To send an event the GEN macro has to be used.