Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 10:37 Go to next message
Federico Toledo is currently offline Federico ToledoFriend
Messages: 97
Registered: April 2012
Location: Ciudad Real, Spain
Member
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 13:57 Go to previous messageGo to next message
Joe I is currently offline Joe IFriend
Messages: 28
Registered: May 2013
Junior Member
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 13:58 Go to previous messageGo to next message
Federico Toledo is currently offline Federico ToledoFriend
Messages: 97
Registered: April 2012
Location: Ciudad Real, Spain
Member
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 14:30 Go to previous messageGo to next message
Joe I is currently offline Joe IFriend
Messages: 28
Registered: May 2013
Junior Member
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 08:31 Go to previous messageGo to next message
Marc-Florian Wendland is currently offline Marc-Florian WendlandFriend
Messages: 83
Registered: January 2013
Member
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 11:00 Go to previous message
Federico Toledo is currently offline Federico ToledoFriend
Messages: 97
Registered: April 2012
Location: Ciudad Real, Spain
Member
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: Thu Mar 28 09:49:27 GMT 2024

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

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

Back to the top