C - What interfaces are in the diagrams of the UML components

What is a component diagram interface in C?

I am a built-in system tester that understands software development architecture. I saw diagrams of the project components that I execute when testing the Black Box. I have seen that components are represented by blocks that combine with "sockets" and "lellips". I know that these are interfaces, and components provide and request interfaces. I read various articles, but I did not find a practical example. Are they functions and variables, and the component requesting such an interface calls it, and the provider has a function definition?

+4
source share
3 answers

C? [...] , . [...]

, , ( C) - , , REST API . , , - , .

, Craig Larman. UML , :

PlantUML Component Diagram with Two Components

MyApp : , (). ( ), JMS SQL .

C , , .h ( .c, , ). , "", JMS, SQL .., , .

+2

UML:

, .

- , (...). , , , .

, , . (...)

, API

C , , , :

  • , ( ), , .
  • extern, , , .

,

C - . , , ++. .

, () , (). , .

Microsoft, , COM-

,

C . , , ( HTTP ), IPC (, , , ....).

-

, . - , , , .

+3

, - . , , . , 1..n , . , , , .

: (, ). . - , .

+1

Source: https://habr.com/ru/post/1690466/


All Articles