forked from siemens/cmp-ra-component
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSequence_instantiateCmpRaComponent.uml
41 lines (32 loc) · 1.11 KB
/
Sequence_instantiateCmpRaComponent.uml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
@startuml
database "**Configuration Interface**" as config
participant "Downstream Interface" as Downstream
participant "RA Component" as RA
participant "Upstream Interface" as Upstream
activate Downstream
config -> RA : instantiateCmpRaComponent()
Downstream -> RA : processRequest(**byte[]** request)
activate RA
RA -> Upstream : upstreamExchange (**byte[]** request, String certificateProfile)
activate Upstream
alt synchronous
Upstream --> RA : **byte[]** upstreamExchange (response)
RA --> Downstream : **byte[]** processRequest (response)
else asynchronous: delayed delivery
Upstream --> RA : **null** upstreamExchange (response absent)
deactivate Upstream
RA --> Downstream : **byte[]** processRequest (response with waiting indication)
loop
Downstream -> RA : processRequest(**byte[]** pollRequest)
RA --> Downstream : **byte[]** processRequest (pollResponse)
break
activate Upstream
Upstream --> RA : gotResponseAtUpstream(**byte[]** response)
deactivate Upstream
end
end
Downstream -> RA : processRequest(**byte[]** pollRequest)
RA --> Downstream : **byte[]** processRequest (response)
end
deactivate RA
@enduml