10.1. Signals

Objects communicate as a result of state machine instances sending signals. To synchronize the behavior of objects, actions in state machine instances generate signals to establish the dynamics of a domain.

Definition: A signal is a message that may carry data used by the actions in a procedure of the recipient's state machine instance.

The signaling is asynchronous. Once the signal is sent, the sender goes on about its business. Separately, once the event is detected by the receiver, a transition is made and the receiver executes a procedure. The receiver does not “return” to the sender, though it may choose to send another signal.

10.1.1. Sending Signals

Signal actions send signals to objects. In Figure 10.1, a signal is sent ...

Get Executable UML: A Foundation for Model-Driven Architecture now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.