Skip to Content
Computers as Components, 2nd Edition
book

Computers as Components, 2nd Edition

by Marilyn Wolf
July 2008
Intermediate to advanced
544 pages
16h 52m
English
Morgan Kaufmann
Content preview from Computers as Components, 2nd Edition
A.2 Diagram Types 473
A.2.3 Sequence and Collaboration Diagrams
Sequence and collaboration diagrams both illustrate scenarios,but in different ways.
Figure A.8 shows a UML sequence diagram that includes a timeline. The bars show
when different objects are active. FigureA.9 shows a UML collaboration diagram for
the same sequence of events. In this diagram,messages are given sequence numbers
to indicate time.
Time
Focus of
control
Event 2
Event 1
Event 3
:class 1
:class 2 :class 3
FIGURE A.8
A sequence diagram in UML.
2: event 2
Sequence number: operation
object 1:
Class 1
object 2:
Class 2
object 3:
Class 3
1: event 1
FIGURE A.9
A UML collaboration diagram.
This page
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Computers as Components, 3rd Edition

Computers as Components, 3rd Edition

Marilyn Wolf
Computer System Designs: System-on-Chip

Computer System Designs: System-on-Chip

Michael J. Flynn, Wayne Luk
PC Hardware in a Nutshell, 3rd Edition

PC Hardware in a Nutshell, 3rd Edition

Robert Bruce Thompson, Barbara Fritchman Thompson

Publisher Resources

ISBN: 9780123743978