Book a Demo

Author Topic: showing signals on sequence diagram  (Read 4522 times)

SomersetGraham

  • EA User
  • **
  • Posts: 376
  • Karma: +1/-0
    • View Profile
showing signals on sequence diagram
« on: January 30, 2014, 10:54:20 pm »
Hi
I am trying to draw a sequence diagram
One of classes emits a signal that is processed asynchronously by another class.
How can I show that the first class is just emitting a signal (it does not care who catches and processes it) on my sequence diagram

Hope this makes sense

Thanks
Using V12

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: showing signals on sequence diagram
« Reply #1 on: January 30, 2014, 11:13:42 pm »
You can send an asynchronous message to an endpoint or a gate.
Or you could create a signal object.

Geert
« Last Edit: January 30, 2014, 11:14:12 pm by Geert.Bellekens »

Paul Lotz

  • EA User
  • **
  • Posts: 248
  • Karma: +1/-0
    • View Profile
Re: showing signals on sequence diagram
« Reply #2 on: January 31, 2014, 08:41:56 am »
As Geert suggests, you can use an asynchronous message.

This works for me to show publish-subscribe messages where I show that EntityA sends a message to which EntityB subscribes.

The challenge are:
a) if I don't want to show the EntityB part.  Then maybe note it like a lost message (although it's really not lost). Or
b) if I want to show EntityB and EntityC receive the same message EntityA sent.  I'm not sure how I would do that on a sequence diagram.

Interesting puzzle.

Paul