X hits on this document

Powerpoint document

Module 2: Introduction to UML - page 26 / 48

272 views

0 shares

0 downloads

0 comments

26 / 48

26

Interaction Diagram: sequence vs communication

s1 : StockQuoteSubscriber

p : StockQuotePublisher

attach(s1)

s2 : StockQuoteSubscriber

attach(s2)

notify()

update()

update()

getState()

getState()

s1 : StockQuoteSubscriber

p : StockQuotePublisher

s2 : StockQuoteSubscriber

1 : attach(s1)

6 : getState()

2 : attach(s2)

7 : getState()

3 : notify()

4 : update()

5 : update()

Observer

design

pattern

object

role:ClassName

Procedure call, RMI, JDBC, …

Activations

- Show duration of execution

- Shows call stack

- Return message

Implicit at end of activation

Explicit with a dashed arrow

objects

Time

{update < 1 minutes}

classifiers or their instances,

use cases or actors.

Document info
Document views272
Page views272
Page last viewedSat Dec 10 17:16:44 UTC 2016
Pages48
Paragraphs1110
Words3759

Comments