Skip to main content



      Home
Home » Modeling » UML2 » Sequence diagram: two messages with executed at the same time
icon5.gif  Sequence diagram: two messages with executed at the same time [message #1130227] Wed, 09 October 2013 06:37 Go to next message
Eclipse UserFriend
Hi!

I am not sure how to represent this kind of situations with UML Sequence Diagram, I will be very greatful if someone can give me an idea:

I want to show that two messages should be executed at the same time. Both messages executed by the same timeline.

Is this possible?


Thank you!
Re: Sequence diagram: two messages with executed at the same time [message #1130381 is a reply to message #1130227] Wed, 09 October 2013 09:57 Go to previous messageGo to next message
Eclipse UserFriend
Hi!

Combined Fragment - Parallel
Re: Sequence diagram: two messages with executed at the same time [message #1130382 is a reply to message #1130381] Wed, 09 October 2013 09:58 Go to previous messageGo to next message
Eclipse UserFriend
Hi, thank you for the response!

That necessary implies that both starts at the same time?


another thing, there is a way to express that they finish at the same time?
Re: Sequence diagram: two messages with executed at the same time [message #1130410 is a reply to message #1130382] Wed, 09 October 2013 10:30 Go to previous messageGo to next message
Eclipse UserFriend
Federico Toledo wrote on Wed, 09 October 2013 09:58

That necessary implies that both starts at the same time?

In my opinion, yes.

Federico Toledo wrote on Wed, 09 October 2013 09:58

another thing, there is a way to express that they finish at the same time?

I don't know, maybe you find something in the UML specification (http://www.omg.org/spec/UML/2.4.1/Superstructure/PDF/).

Good luck! Wink
Re: Sequence diagram: two messages with executed at the same time [message #1131145 is a reply to message #1130227] Thu, 10 October 2013 04:31 Go to previous messageGo to next message
Eclipse UserFriend
Hi Federico,

what do you mean by "the same timeline?" You mean Lifeline?

If so, how would you be able to send two messages exactly at the same time
from one process? This is not really possible, right? There is always kind
of a delay while sending the two subsequent messages.

Parallel does not help in that situation at all. Paralllel simply says that
either Message1 or Message2 can be sent first, but it does not say anything
about the point in time.

You could specify this by using a DurationConstraint pointing from
MessageEnd1 to MessageEnd2 with Interval [0..0]. My interpretation of this
is that there are at most 0 time units between the first and the second
event allowed.

Or you could have a look at Observation, TimeObservation and
DurationObservation. It allows you to involve Observation points in time in
Time- and DurationConstraints.

Same holds true for the receiving MessageEnds of course.

HTH,
Marc-Florian

"Federico Toledo" wrote in message news:l33bls$s23$1@xxxxxxxxe.org...

Hi!

I am not sure how to represent this kind of situations with UML Sequence
Diagram, I will be very greatful if someone can give me an idea:

I want to show that two messages should be executed at the same time. Both
messages executed by the same timeline.

Is this possible?


Thank you!
Re: Sequence diagram: two messages with executed at the same time [message #1131258 is a reply to message #1131145] Thu, 10 October 2013 07:00 Go to previous message
Eclipse UserFriend
Thank you for your responses!!!

Marc, that's what I suspect, and what I wanted to check, thank you!
Previous Topic:general question about UML Testing Profile
Next Topic:Re: Multiple Inheritance
Goto Forum:
  


Current Time: Wed Jul 30 17:11:20 EDT 2025

Powered by FUDForum. Page generated in 0.06411 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top