3

Multiple system are using COM object to communicate and is implemented by using interfaces.

I need to represent these interfaces in a diagram. Any known (UML)diagram to represent this`?

RayOldProf
  • 1,040
  • 4
  • 16
  • 40

2 Answers2

4

In my opinion, UML's Component diagram is very convenient to represent required and implemented interfaces of some specific component of your system. Component is defined to be an autonomous, encapsulated units within system that provide certain number of interfaces (and require some of them as well). As you are dealing with COM objects, these can be very conveniently modelled as Components of Component diagram with implemented and required interfaces.

Btw, I'm talking about the Component diagram of UML 2.0 (in the previous version of UML language, this diagram and components had different meaning that wouldn't suit your needs).

More on UML Component diagram

dbajgoric
  • 1,447
  • 11
  • 17
  • In addition, one can document a protocol between interfaces as a protocol state machine or sequence diagram. (How to diagram the protocol was the title question.) – Jim L. Sep 25 '15 at 15:08
0

To describe a protocol you will need static and dynamic description. The static one can be realized via class diagrams. Additionally you may show the usage of protocols in component diagrams. The dynamic part can be show via any communication or sequence diagram.

qwerty_so
  • 35,448
  • 8
  • 62
  • 86
  • I dont have any knowledge on the other systems Classes, and therefore can not make a class diagram for the static description. – RayOldProf Sep 25 '15 at 19:39
  • 2
    Well, a protocol needs an interface and that is a stereotyped class. So you can put that in a class diagram to show the methods. – qwerty_so Sep 25 '15 at 20:17