Book a Demo

Author Topic: Best diagram to show tcp/ip messages between appli  (Read 6309 times)

keith.hutchison

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Best diagram to show tcp/ip messages between appli
« on: March 10, 2008, 09:27:17 pm »
G'day

I'm new to uml documentation.

What would be the best UML diagram to show tcp/ip communication between different machines and applications?

Thanks in advance

Keith Hutchison

thomas.kilian

  • Guest
Re: Best diagram to show tcp/ip messages between a
« Reply #1 on: March 10, 2008, 10:06:44 pm »
Depends on what you want to express. Deployment to show how systems are interconnected. States for some low level communication stuff. Which way you're heading?

keith.hutchison

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Best diagram to show tcp/ip messages between a
« Reply #2 on: March 10, 2008, 10:43:24 pm »
G'day abcde

Deployment I think.

I've been asked to show clearly how a vnc support request is sent from one machine to another.

Thanks

Keith

thomas.kilian

  • Guest
Re: Best diagram to show tcp/ip messages between a
« Reply #3 on: March 11, 2008, 01:37:03 am »
Deployment just gives you the physical connection. So you have a VNC server deployed on one machine and a client on others. You can use the deployment diagram to show how these are deployed. Now you can additionally create a Sequence diagram to show what kind of interaction happens when they talk to each other (authentication, communicate screen contents, etc.).

Oliver F.

  • EA User
  • **
  • Posts: 573
  • Karma: +2/-1
  • ArenĀ“t we all in the model business ?
    • View Profile
    • Karl Storz homepage
Re: Best diagram to show tcp/ip messages between a
« Reply #4 on: March 11, 2008, 03:36:58 am »
Quote
G'day abcde

Deployment I think.

I've been asked to show clearly how a vnc support request is sent from one machine to another.

As the previous poster said you have several choices which of course can be used alltogether, but please not in a single diagram, thanks ;)

A deployment diagram is a physical view of physical instances of machines, interconnections, etc. Thus a static view, not a dynamic one.
This can include parameterisation, deployment information, network constraints, etc.
Though for detailed network diagrams I would suggest a classical drawing tool like Visio.

A sequence diagram shows the flow of information between components, thus a very dynamic view.
This can be detailed on the protocol level or on higher abstractions.
It can also be software components exchanging signals and (method) calls. So for example to show who is sending which ACK frame and who is denying it can be visualised in a sequence.

If you are primarily interested in the algorithmic flow of activities (eg. send header x -> receice response y -> calculate checksum -> repeat until finished -> if not received then... -> ...) then considering the activity diagram is wort a look at, especially if the component dependency is not of interest.

Oh, I forgot to mention that a communication diagram can show real software objects being instantiated and released when operating on the vnc connection. That of course on a very low level.

I hope that helps.

Oliver
« Last Edit: March 11, 2008, 03:38:46 am by ofels »