Download presentation
Presentation is loading. Please wait.
1
Sequence Diagram
2
Introduction Dynamic View State chart Diagram Collaboration Diagram
Sequence Diagram آزمايشگاه سيستم هاي همشمند
3
Sequence & Collaboration Diagram
describe the flow of messages between objects. Sequence Diagram: focus on the order in which the messages are sent Collaboration Diagram: emphasizes the relationships between the objects
4
Sequence Diagram showing concurrent multi-threaded interactions.
finding race conditions in concurrent systems
5
Notation Objects or Acotors Lifelines
Activations box (method-invocation boxes) Messages
6
Notation [sequence number]
<<Create>> ,<<Destroy>> , C++ , C# & java garbage collection Return value Dashed line message with a label Method name : return value Loop Send message to itself
7
Type of Message Asynchronous: the sender doesn’t wait for the result of the message hardware devices, autonomous software services Synchronous: sender waits for the result before continuing on
8
Another Notation
9
Example (condition UML 1.x)
Condition to one message
10
Example (condition UML 2)
group of messages
11
Combined Fragment (UML 2)
Alternative (alt) : model if, else Option (opt) Loop (loop) : [minint=no, maxint=no]
13
Example
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.