blob: c6d3f17d085b3b12a32ca39f320a552dcfaaf203 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="316.8px" preserveAspectRatio="none" style="width:1051px;height:316px;" version="1.1" viewBox="0 0 1051 316" width="1051.2px" zoomAndPan="magnify"><defs><filter height="300%" id="f5wjt7gogzi89" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.4"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.8" dy="4.8" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><rect fill="#DDDDDD" height="299.8219" style="stroke: #A80036; stroke-width: 1.2;" width="340.8" x="237.6" y="4.8"/><text fill="#000000" font-family="sans-serif" font-size="15.6" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="45.6" x="385.2" y="19.2803">Hono</text><rect fill="#FFFFFF" filter="url(#f5wjt7gogzi89)" height="108.6375" style="stroke: #000000; stroke-width: 2.4;" width="1022.4" x="15.6" y="110.0719"/><line style="stroke: #A80036; stroke-width: 1.2; stroke-dasharray: 5.0,5.0;" x1="66" x2="66" y1="89.6719" y2="239.1094"/><line style="stroke: #A80036; stroke-width: 1.2; stroke-dasharray: 5.0,5.0;" x1="321.6" x2="321.6" y1="89.6719" y2="239.1094"/><line style="stroke: #A80036; stroke-width: 1.2; stroke-dasharray: 5.0,5.0;" x1="493.2" x2="493.2" y1="89.6719" y2="239.1094"/><line style="stroke: #A80036; stroke-width: 1.2; stroke-dasharray: 5.0,5.0;" x1="670.8" x2="670.8" y1="89.6719" y2="239.1094"/><line style="stroke: #A80036; stroke-width: 1.2; stroke-dasharray: 5.0,5.0;" x1="969.6" x2="969.6" y1="89.6719" y2="239.1094"/><rect fill="#FEFECE" filter="url(#f5wjt7gogzi89)" height="36.3562" style="stroke: #A80036; stroke-width: 1.7999999999999998;" width="73.2" x="27.6" y="47.3156"/><text fill="#000000" font-family="sans-serif" font-size="16.8" lengthAdjust="spacingAndGlyphs" textLength="56.4" x="36" y="71.3098">Device</text><rect fill="#FEFECE" filter="url(#f5wjt7gogzi89)" height="36.3562" style="stroke: #A80036; stroke-width: 1.7999999999999998;" width="73.2" x="27.6" y="237.9094"/><text fill="#000000" font-family="sans-serif" font-size="16.8" lengthAdjust="spacingAndGlyphs" textLength="56.4" x="36" y="261.9035">Device</text><rect fill="#FEFECE" filter="url(#f5wjt7gogzi89)" height="55.9125" style="stroke: #A80036; stroke-width: 1.7999999999999998;" width="154.8" x="242.4" y="27.7594"/><text fill="#000000" font-family="sans-serif" font-size="16.8" lengthAdjust="spacingAndGlyphs" textLength="138" x="250.8" y="51.7535">Protocol Adapter</text><text fill="#000000" font-family="sans-serif" font-size="16.8" lengthAdjust="spacingAndGlyphs" textLength="86.4" x="276.6" y="71.3098">instance 1</text><rect fill="#FEFECE" filter="url(#f5wjt7gogzi89)" height="55.9125" style="stroke: #A80036; stroke-width: 1.7999999999999998;" width="154.8" x="242.4" y="237.9094"/><text fill="#000000" font-family="sans-serif" font-size="16.8" lengthAdjust="spacingAndGlyphs" textLength="138" x="250.8" y="261.9035">Protocol Adapter</text><text fill="#000000" font-family="sans-serif" font-size="16.8" lengthAdjust="spacingAndGlyphs" textLength="86.4" x="276.6" y="281.4598">instance 1</text><rect fill="#FEFECE" filter="url(#f5wjt7gogzi89)" height="55.9125" style="stroke: #A80036; stroke-width: 1.7999999999999998;" width="154.8" x="414" y="27.7594"/><text fill="#000000" font-family="sans-serif" font-size="16.8" lengthAdjust="spacingAndGlyphs" textLength="138" x="422.4" y="51.7535">Protocol Adapter</text><text fill="#000000" font-family="sans-serif" font-size="16.8" lengthAdjust="spacingAndGlyphs" textLength="86.4" x="448.2" y="71.3098">instance 2</text><rect fill="#FEFECE" filter="url(#f5wjt7gogzi89)" height="55.9125" style="stroke: #A80036; stroke-width: 1.7999999999999998;" width="154.8" x="414" y="237.9094"/><text fill="#000000" font-family="sans-serif" font-size="16.8" lengthAdjust="spacingAndGlyphs" textLength="138" x="422.4" y="261.9035">Protocol Adapter</text><text fill="#000000" font-family="sans-serif" font-size="16.8" lengthAdjust="spacingAndGlyphs" textLength="86.4" x="448.2" y="281.4598">instance 2</text><rect fill="#FEFECE" filter="url(#f5wjt7gogzi89)" height="55.9125" style="stroke: #A80036; stroke-width: 1.7999999999999998;" width="166.8" x="585.6" y="27.7594"/><text fill="#000000" font-family="sans-serif" font-size="16.8" lengthAdjust="spacingAndGlyphs" textLength="145.2" x="594" y="51.7535">AMQP messaging</text><text fill="#000000" font-family="sans-serif" font-size="16.8" lengthAdjust="spacingAndGlyphs" textLength="67.2" x="635.4" y="71.3098">network</text><rect fill="#FEFECE" filter="url(#f5wjt7gogzi89)" height="55.9125" style="stroke: #A80036; stroke-width: 1.7999999999999998;" width="166.8" x="585.6" y="237.9094"/><text fill="#000000" font-family="sans-serif" font-size="16.8" lengthAdjust="spacingAndGlyphs" textLength="145.2" x="594" y="261.9035">AMQP messaging</text><text fill="#000000" font-family="sans-serif" font-size="16.8" lengthAdjust="spacingAndGlyphs" textLength="67.2" x="635.4" y="281.4598">network</text><rect fill="#FEFECE" filter="url(#f5wjt7gogzi89)" height="36.3562" style="stroke: #A80036; stroke-width: 1.7999999999999998;" width="106.8" x="914.4" y="47.3156"/><text fill="#000000" font-family="sans-serif" font-size="16.8" lengthAdjust="spacingAndGlyphs" textLength="90" x="922.8" y="71.3098">Application</text><rect fill="#FEFECE" filter="url(#f5wjt7gogzi89)" height="36.3562" style="stroke: #A80036; stroke-width: 1.7999999999999998;" width="106.8" x="914.4" y="237.9094"/><text fill="#000000" font-family="sans-serif" font-size="16.8" lengthAdjust="spacingAndGlyphs" textLength="90" x="922.8" y="261.9035">Application</text><path d="M15.6,110.0719 L330,110.0719 L330,118.4719 L318,130.4719 L15.6,130.4719 L15.6,110.0719 " fill="#EEEEEE" style="stroke: #000000; stroke-width: 1.2;"/><rect fill="none" height="108.6375" style="stroke: #000000; stroke-width: 2.4;" width="1022.4" x="15.6" y="110.0719"/><text fill="#000000" font-family="sans-serif" font-size="15.6" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="260.4" x="33.6" y="125.7521">Command response handling</text><polygon fill="#A80036" points="307.8,151.1906,319.8,155.9906,307.8,160.7906,312.6,155.9906" style="stroke: #A80036; stroke-width: 1.2;"/><line style="stroke: #A80036; stroke-width: 1.2;" x1="66.6" x2="315" y1="155.9906" y2="155.9906"/><text fill="#000000" font-family="sans-serif" font-size="15.6" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="10.8" x="75" y="149.9115">1</text><text fill="#000000" font-family="sans-serif" font-size="15.6" lengthAdjust="spacingAndGlyphs" textLength="211.2" x="90.6" y="149.9115">Command response is sent</text><polygon fill="#A80036" points="955.8,204.3094,967.8,209.1094,955.8,213.9094,960.6,209.1094" style="stroke: #A80036; stroke-width: 1.2;"/><line style="stroke: #A80036; stroke-width: 1.2;" x1="322.2" x2="963" y1="209.1094" y2="209.1094"/><text fill="#000000" font-family="sans-serif" font-size="15.6" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="10.8" x="330.6" y="193.9506">2</text><text fill="#000000" font-family="sans-serif" font-size="15.6" lengthAdjust="spacingAndGlyphs" textLength="603.6" x="346.2" y="184.8709">transfer("command_response/TENANT/${replyId}","status=200","${payload}")</text><text fill="#000000" font-family="sans-serif" font-size="15.6" lengthAdjust="spacingAndGlyphs" textLength="225.6" x="355.8" y="203.0303">via AMQP messaging network</text><!--MD5=[5e5ec6ad238f39ba1a44ff34d08a44f9]
@startuml
scale 1.2
participant Device order 10
box "Hono"
participant "Protocol Adapter\ninstance 1" order 30
participant "Protocol Adapter\ninstance 2" order 40
end box
participant "AMQP messaging \nnetwork" order 60
participant Application order 70
autonumber
group Command response handling
Device -> "Protocol Adapter\ninstance 1": Command response is sent
"Protocol Adapter\ninstance 1" -> Application: transfer("command_response/TENANT/${replyId}","status=200","${payload}")\n via AMQP messaging network
deactivate "Protocol Adapter\ninstance 1"
deactivate Application
end
@enduml
PlantUML version 1.2019.11(Sun Sep 22 12:02:15 CEST 2019)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Java Version: 11.0.4+11-post-Ubuntu-1ubuntu218.04.3
Operating System: Linux
Default Encoding: UTF-8
Language: de
Country: DE
--></g></svg>