July 2001
Intermediate to advanced
656 pages
15h 51m
English
The designs created for the system events (enterItem, and so on) illustrate messages between objects. For a sender object to send a message to a receiver object, the sender must be visible to the receiver—the sender must have some kind of reference or pointer to the receiver object.
For example, the getSpecification message sent from a Register to a ProductCatalog implies that the ProductCatalog instance is visible to the Register instance, as shown in Figure 18.1.

[1] In this and subsequent code examples, language simplifications may be ...
Read now
Unlock full access