O'Reilly logo

Executable UML: A Foundation for Model-Driven Architecture by Marc J. Balcer, Stephen J. Mellor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

14.3. Delegation of Control

Not all state machines participate equally in the dynamics of a domain. In planning a system of more than a few state machines, we need to delegate responsibilities to the various state machines.

14.3.1. Hierarchical Delegation

Some state machines tell others what to do and get an immediate response. For example, the order tells the credit card charge to make a charge, and the order receives an immediate response indicating success or failure. Similarly, the shipment makes a request to the delivery company and receives a response first to assign a tracking number and then to confirm delivery. These examples of hierarchical control can be seen in Figure 14.8.

Figure 14.8. Bookstore Collaboration

14.3.2. Networked Delegation ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required