|
|
Client, Servers, and Messages | This is the first of a number of slides that will lead us in the direction of object-oriented programming. Each of these slides contribute a bit. At this moment, you may be in doubt how "these bits" work together. Please be patient, however. It will be clarified later in the material. |
Peter orders a Pizza at AAU Pizza by email. Via interaction between a number of service providers, a pizza is delivered to Peters group room |
The scenario of pizza ordering. The scenario focuses on a number of objects (persons) who communicate by message passing. |
A client asks for a service at some given service provider (server ). This may lead the service provider (which now plays a client role) to ask for subservices Clients and servers communicate by passing messages that return results Try the accompanying SVG animation |