Next: Example Transitions: CourseOffering
Up: Lecture 2: Classes, Objects,
Previous: Example Transition: Add Student/Set
Send-clause: send message to another object during state transition. Destination object and event sent are shown. Destination object may be the object itself self
. Example send-clauses:
send CourseReport.createReport()
[timer=Time-out] send self.goDown(firstfloor)
out-of-paper() send indicator.light()
leftMouseButtonDown(location)/color:=pickColor(location) send pen.set(color)
Ananda Amatya
11/3/1999