next up previous contents
Next: Executing methods Up: Message Passing Pattern Previous: Creating instances of a   Contents


Sending messages

To send a message means in our context to invoke the dispatcher of the object passing the message as an argument. This was done by evaluating the expression: (define bal-set(acc1 two)).

Invoking the dispatcher caused the following changes in the diagram below:

img68.gif\includegraphics[scale=1.00]{img/objdemo3a.eps}


Georg P. Loczewski 2004-03-05


Impressum und Datenschutz