Unit Iv
Unit Iv
• lifelines
• messages.
Life lines
• Lifeline is a named element which represents
an individual participant in the interaction.
Life line syntax
Type - the name of the classifier of which the lifeline represents an instance.
2. Asynchronous message
3. Message return
4. Object creation
5. Object destruction
6. Found message
7. Lost message
synchronous message call.
• In a synchronous message call, the sender
waits for the receiver to finish executing the
requested
•
Synchronous call messages are shown with filled arrow head.
• Asynchronous call –
• send message and proceed immediately
without waiting for return value.
Asynchronous messages have an open arrow
head.
Service starts Task and proceeds in parallel without waiting.
Reply Message
Reply message to an operation call is shown as a dashed line with open arrow
head (looks similar to creation message).
«create»,
Delete message (called stop ) is sent to terminate another
lifeline.
The lifeline usually ends with a cross in the form of an X at the
bottom denoting destruction occurrence.
Lost Message
is a message where the sending event is known, but there is no receiving
event.
Lost messages are denoted with as a small black circle at the arrow end of the
message.
• Sequence diagrams .
• Communication diagrams .
• Timing diagrams.
the node isn’t ready to execute until tokens are present on all of its input edges .
There are four types of action nodes.
Call action node
• The most common type of action node is the
call action node.
This type of node can invoke:
• an activity;
• a behavior;
• an operation.
Accept time event action node
• It responds to time.
• This type of node has a time expression, and it
generates a time event when this expression
becomes true.
Control nodes