Download presentation
Presentation is loading. Please wait.
1
Sequence diagrams G. Falquet, L. Nerima
2
ISIISI June 2001 - G. Falquet, L. NerimaSequence Diagrams 2 Objectives vTo show object interactions arranged in time sequence vTo show messages exchanged time objects + messages
3
ISIISI June 2001 - G. Falquet, L. NerimaSequence Diagrams 3 Example: message window obj1: messageManager obj2: msgWindow create() writeMessage() buttonClicked() [btn=OK] readUserInput() close() X active objects
4
ISIISI June 2001 - G. Falquet, L. NerimaSequence Diagrams 4 Active and passive objects vAn active object owns a thread of control (path of execution) vA passive object does not have its own thread of control voperations execute under a control thread of an active object vactivation: execution of an operation
5
ISIISI June 2001 - G. Falquet, L. NerimaSequence Diagrams 5 Procedural flow of control obj1: obj2: operationX() operationY() return obj3: operationZ() return passive object activation
6
ISIISI June 2001 - G. Falquet, L. NerimaSequence Diagrams 6 Concurrent threads of control obj1: obj2: opA() opB() obj3: fork threads join threads
7
ISIISI June 2001 - G. Falquet, L. NerimaSequence Diagrams 7 Showing state changes obj1: obj2:Book return() available reserve() reserved obj3:resInterface
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.