finished third course
This commit is contained in:
131
res/websocket.drawio
Normal file
131
res/websocket.drawio
Normal file
@@ -0,0 +1,131 @@
|
||||
<mxfile host="Electron" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/28.2.5 Chrome/138.0.7204.251 Electron/37.6.1 Safari/537.36" version="28.2.5" pages="2">
|
||||
<diagram name="CM" id="cFCSzedRB310UoekGWDV">
|
||||
<mxGraphModel dx="1426" dy="963" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="Chr8h4oqNThsC-i0qC5y-2" value="Serveur HTTP" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;newEdgeStyle={"edgeStyle":"elbowEdgeStyle","elbow":"vertical","curved":0,"rounded":0};fontFamily=Lucida Console;" parent="1" vertex="1">
|
||||
<mxGeometry x="420" y="340" width="100" height="250" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="Chr8h4oqNThsC-i0qC5y-3" value="" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};participant=umlActor;fontFamily=Lucida Console;" parent="1" vertex="1">
|
||||
<mxGeometry x="260" y="340" width="20" height="250" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="Chr8h4oqNThsC-i0qC5y-4" value="HTTP Upgrade request" style="html=1;verticalAlign=bottom;endArrow=block;curved=0;rounded=0;fontFamily=Lucida Console;" parent="1" target="Chr8h4oqNThsC-i0qC5y-2" edge="1">
|
||||
<mxGeometry width="80" relative="1" as="geometry">
|
||||
<mxPoint x="270" y="430" as="sourcePoint" />
|
||||
<mxPoint x="350" y="430" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="Chr8h4oqNThsC-i0qC5y-5" value="HTTP 101" style="html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;curved=0;rounded=0;fontFamily=Lucida Console;" parent="1" edge="1">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="469.74" y="480" as="sourcePoint" />
|
||||
<mxPoint x="270.2638095238095" y="480" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="Chr8h4oqNThsC-i0qC5y-9" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;endArrow=none;endFill=0;fontFamily=Lucida Console;" parent="1" source="Chr8h4oqNThsC-i0qC5y-6" target="Chr8h4oqNThsC-i0qC5y-7" edge="1">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<Array as="points">
|
||||
<mxPoint x="320" y="520" />
|
||||
<mxPoint x="320" y="520" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="Chr8h4oqNThsC-i0qC5y-10" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;endArrow=none;endFill=0;fontFamily=Lucida Console;" parent="1" source="Chr8h4oqNThsC-i0qC5y-6" target="Chr8h4oqNThsC-i0qC5y-7" edge="1">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<Array as="points">
|
||||
<mxPoint x="370" y="550" />
|
||||
<mxPoint x="370" y="550" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="Chr8h4oqNThsC-i0qC5y-6" value="" style="ellipse;whiteSpace=wrap;html=1;fontFamily=Lucida Console;" parent="1" vertex="1">
|
||||
<mxGeometry x="265" y="520" width="10" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="Chr8h4oqNThsC-i0qC5y-7" value="" style="ellipse;whiteSpace=wrap;html=1;fontFamily=Lucida Console;" parent="1" vertex="1">
|
||||
<mxGeometry x="465" y="520" width="10" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="Chr8h4oqNThsC-i0qC5y-11" value="WebSocket<div>(canal bidirectionnel)</div>" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Lucida Console;" parent="1" vertex="1">
|
||||
<mxGeometry x="280" y="520" width="180" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
<diagram id="55hSsf7dZ4O9BhhBfXZT" name="TP">
|
||||
<mxGraphModel dx="983" dy="664" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="V0LY4LNaFKX1vN2Ljjwc-1" value="Serveur HTTP" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;newEdgeStyle={"edgeStyle":"elbowEdgeStyle","elbow":"vertical","curved":0,"rounded":0};fontFamily=Lucida Console;" vertex="1" parent="1">
|
||||
<mxGeometry x="480" y="450" width="100" height="420" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="V0LY4LNaFKX1vN2Ljjwc-2" value="" style="shape=umlLifeline;perimeter=lifelinePerimeter;whiteSpace=wrap;html=1;container=1;dropTarget=0;collapsible=0;recursiveResize=0;outlineConnect=0;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};participant=umlActor;fontFamily=Lucida Console;" vertex="1" parent="1">
|
||||
<mxGeometry x="320" y="450" width="20" height="420" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="V0LY4LNaFKX1vN2Ljjwc-3" value="HTTP Upgrade request" style="html=1;verticalAlign=bottom;endArrow=block;curved=0;rounded=0;fontFamily=Lucida Console;" edge="1" parent="1" target="V0LY4LNaFKX1vN2Ljjwc-1">
|
||||
<mxGeometry width="80" relative="1" as="geometry">
|
||||
<mxPoint x="330" y="540" as="sourcePoint" />
|
||||
<mxPoint x="410" y="540" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="V0LY4LNaFKX1vN2Ljjwc-4" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;endArrow=none;endFill=0;fontFamily=Lucida Console;" edge="1" parent="1" source="V0LY4LNaFKX1vN2Ljjwc-6" target="V0LY4LNaFKX1vN2Ljjwc-7">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<Array as="points">
|
||||
<mxPoint x="380" y="650" />
|
||||
<mxPoint x="380" y="650" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="V0LY4LNaFKX1vN2Ljjwc-5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;endArrow=none;endFill=0;fontFamily=Lucida Console;" edge="1" parent="1" source="V0LY4LNaFKX1vN2Ljjwc-6" target="V0LY4LNaFKX1vN2Ljjwc-7">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<Array as="points">
|
||||
<mxPoint x="440" y="830" />
|
||||
<mxPoint x="440" y="830" />
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="V0LY4LNaFKX1vN2Ljjwc-6" value="" style="ellipse;whiteSpace=wrap;html=1;fontFamily=Lucida Console;" vertex="1" parent="1">
|
||||
<mxGeometry x="325" y="650" width="10" height="180" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="V0LY4LNaFKX1vN2Ljjwc-7" value="" style="ellipse;whiteSpace=wrap;html=1;fontFamily=Lucida Console;" vertex="1" parent="1">
|
||||
<mxGeometry x="525" y="650" width="10" height="180" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="V0LY4LNaFKX1vN2Ljjwc-8" value="WebSocket<div>(canal bidirectionnel)</div>" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Lucida Console;" vertex="1" parent="1">
|
||||
<mxGeometry x="340" y="650" width="180" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="V0LY4LNaFKX1vN2Ljjwc-9" value="HTTP 101" style="html=1;verticalAlign=bottom;endArrow=open;dashed=1;endSize=8;curved=0;rounded=0;fontFamily=Lucida Console;" edge="1" parent="1">
|
||||
<mxGeometry relative="1" as="geometry">
|
||||
<mxPoint x="530" y="600" as="sourcePoint" />
|
||||
<mxPoint x="330" y="600" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="V0LY4LNaFKX1vN2Ljjwc-10" value=""vote_cast"" style="html=1;verticalAlign=bottom;endArrow=block;curved=0;rounded=0;fontFamily=Lucida Console;" edge="1" parent="1">
|
||||
<mxGeometry width="80" relative="1" as="geometry">
|
||||
<mxPoint x="342.5" y="720" as="sourcePoint" />
|
||||
<mxPoint x="517.5" y="720" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="V0LY4LNaFKX1vN2Ljjwc-11" value=""vote_ack"" style="html=1;verticalAlign=bottom;endArrow=none;curved=0;rounded=0;fontFamily=Lucida Console;startArrow=classic;startFill=1;endFill=0;" edge="1" parent="1">
|
||||
<mxGeometry width="80" relative="1" as="geometry">
|
||||
<mxPoint x="342.5" y="760" as="sourcePoint" />
|
||||
<mxPoint x="517.5" y="760" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="V0LY4LNaFKX1vN2Ljjwc-12" value=""votes_update"" style="html=1;verticalAlign=bottom;endArrow=none;curved=0;rounded=0;fontFamily=Lucida Console;startArrow=classic;startFill=1;endFill=0;" edge="1" parent="1">
|
||||
<mxGeometry width="80" relative="1" as="geometry">
|
||||
<mxPoint x="342.5" y="800" as="sourcePoint" />
|
||||
<mxPoint x="517.5" y="800" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="BeVJJFJbtEI7Vtz0KRrA-2" value="1" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fontFamily=Lucida Console;fillColor=#000000;fontColor=#FFFFFF;fontSize=13;" vertex="1" parent="1">
|
||||
<mxGeometry x="343" y="700" width="15" height="15" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="BeVJJFJbtEI7Vtz0KRrA-3" value="2" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fontFamily=Lucida Console;fillColor=#000000;fontColor=#FFFFFF;fontSize=13;" vertex="1" parent="1">
|
||||
<mxGeometry x="502" y="740" width="15" height="15" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="BeVJJFJbtEI7Vtz0KRrA-5" value="3" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;fontFamily=Lucida Console;fillColor=#000000;fontColor=#FFFFFF;fontSize=13;" vertex="1" parent="1">
|
||||
<mxGeometry x="502" y="780" width="15" height="15" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
||||
Reference in New Issue
Block a user