Behavior : Sequence Diagrams - Messages
5 important questions on Behavior : Sequence Diagrams - Messages
How do we draw messages?
In Table 14.1, rows 1 through 4 show messages being sent and received.
What can be passed in messages?
Be careful that the argument values match up with the formal parameter types where the message is defined.
The sender waits for a return.
How do we implement this?
In Fig. 14.2, we have an exchange of synchronous messages.
- Higher grades + faster learning
- Never study anything twice
- 100% sure, 100% understanding
While the sender waits until getting the return, it does not mean that ....
Nonblocking yet synchronous behavior is allowed in order to account for the possibility that the sender may have multiple parts or threads, and the waiting may block only one.
Because no reply is possible, an asynchronous message cannot have a ..?
The question on the page originate from the summary of the following study material:
- A unique study and practice tool
- Never study anything twice again
- Get the grades you hope for
- 100% sure, 100% understanding