Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mselis

Pages: [1]
1
General Board / Re: Sequence Diagram - callback messages
« on: July 31, 2005, 11:13:58 pm »
Thanks for the replay...
but I'm sorry, I think I didn't express myself clearly...

I don't want the original activation in ClassA to end, I just want to see the callback from ClassB to ClassA as an extra activation block beside it (like a self-message).

I added some ASCII art show what I would like to see:

ClassA      ClassB     ClassC
X---------->
X
XX<--------
XX
XX--------------------->
XX
X
X----------------------->

This shows clearly that the first call from A to C occurs because of the call from B to A, whereas the second one is not.

Now I just get this, which is not clear enough in my opinion:

ClassA      ClassB     ClassC
X---------->
X
X<---------
X
X---------------------->
X
X
X---------------------->


I hope this makes things more clearly....

Marc

2
General Board / Sequence Diagram - callback messages
« on: July 29, 2005, 07:34:17 am »
Hello,

I am creating a sequence diagram and I have the following situation:
  • ClassA calls Method1 of ClassB, that calls Method2 from ClassA that calls Method3 from ClassC
  • ClassA calls Method4 of ClassC
What I would like to see in the sequence diagram is that the call from ClassB to Method2 in ClassA creates a new activation block, but this is not the case.

This causes some confusion, because now it looks like the call from ClassA to Method3 of ClassC occurs after Method2, instead of inside it...

Extending the source activation of the Method2 call just makes things worse, because then Method4 seems to be called when Method1 is still running... >:(

Any ideas how to solve this?
Thanks.
Marc

Pages: [1]