|
|
Clients and Servers | A client uses services (operations) of other object. A server provides services (operations) to other objects.
The same object can both act as a client and a server.
|
In a dice game the objects act, in turn, as client and servers. |
Interacting Game, Die, and Random objects. The Game object is a client of the Die objects, which in turn are clients of the Random objects. |
|
Read more about clients and servers in the text book version of this material. |