previous |
start |
next .... [Slide 57] ....
Analyze Use Case: Leave a message
- User dials extension. Telephone sends number to
Connection
(Add collaborator Telephone to Connection)
- Connection asks MailSystem to find matching
Mailbox
- Connection asks Mailbox for greeting
(Add responsibility "manage greeting" to Mailbox,
add collaborator Mailbox to Connection)
- Connection asks Telephone to play
greeting
- User speaks greeting. Telephone asks
Connection to record it.
(Add responsibility "record voice input" to
Connection)
- User hangs up. Telephone notifies
Connection.
- Connection constructs Message
(Add card for Message class,
add collaborator Message to
Connection)
- Connection adds Message to
Mailbox
previous |
start |
next .... [Slide 57] ....