Debian Codegraph @

protocol/state-diag-session.svg

raw
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
3 "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4 <!-- Generated by graphviz version 2.26.3 (20100126.1600)
5 -->
6 <!-- Title: state_diagram_session Pages: 1 -->
7 <svg width="864pt" height="266pt"
8 viewBox="0.00 0.00 864.00 265.73" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9 <g id="graph1" class="graph" transform="scale(0.367035 0.367035) rotate(0) translate(4 720)">
10 <title>state_diagram_session</title>
11 <polygon fill="white" stroke="white" points="-4,5 -4,-720 2351,-720 2351,5 -4,5"/>
12 <text text-anchor="middle" x="1173" y="-9.4" font-family="Times Roman,serif" font-size="14.00">State diagram for session</text>
13 <!-- stop -->
14 <g id="node1" class="node"><title>stop</title>
15 <ellipse fill="none" stroke="black" cx="2309" cy="-335" rx="32.0813" ry="32.5269"/>
16 <ellipse fill="none" stroke="black" cx="2309" cy="-335" rx="36.0265" ry="36.5269"/>
17 <text text-anchor="middle" x="2309" y="-331.4" font-family="Times Roman,serif" font-size="14.00">stop</text>
18 </g>
19 <!-- start1 -->
20 <g id="node2" class="node"><title>start1</title>
21 <ellipse fill="none" stroke="black" cx="42" cy="-395" rx="41.2167" ry="41.7193"/>
22 <text text-anchor="middle" x="42" y="-391.4" font-family="Times Roman,serif" font-size="14.00">start1</text>
23 </g>
24 <!-- start2 -->
25 <g id="node4" class="node"><title>start2</title>
26 <ellipse fill="none" stroke="black" cx="286" cy="-395" rx="41.2167" ry="41.7193"/>
27 <text text-anchor="middle" x="286" y="-391.4" font-family="Times Roman,serif" font-size="14.00">start2</text>
28 </g>
29 <!-- start1&#45;&gt;start2 -->
30 <g id="edge2" class="edge"><title>start1&#45;&gt;start2</title>
31 <path fill="none" stroke="black" d="M83.6679,-395C125.213,-395 189.13,-395 233.981,-395"/>
32 <polygon fill="black" stroke="black" points="234.096,-398.5 244.096,-395 234.096,-391.5 234.096,-398.5"/>
33 <text text-anchor="middle" x="164" y="-400.4" font-family="Times Roman,serif" font-size="14.00">Read wire version</text>
34 </g>
35 <!-- start3 -->
36 <g id="node6" class="node"><title>start3</title>
37 <ellipse fill="none" stroke="black" cx="537" cy="-395" rx="41.2167" ry="41.7193"/>
38 <text text-anchor="middle" x="537" y="-391.4" font-family="Times Roman,serif" font-size="14.00">start3</text>
39 </g>
40 <!-- start2&#45;&gt;start3 -->
41 <g id="edge4" class="edge"><title>start2&#45;&gt;start3</title>
42 <path fill="none" stroke="black" d="M327.729,-395C370.886,-395 438.364,-395 484.973,-395"/>
43 <polygon fill="black" stroke="black" points="485.171,-398.5 495.171,-395 485.171,-391.5 485.171,-398.5"/>
44 <text text-anchor="middle" x="401" y="-400.4" font-family="Times Roman,serif" font-size="14.00">Read CONNECT</text>
45 </g>
46 <!-- loop -->
47 <g id="node8" class="node"><title>loop</title>
48 <ellipse fill="none" stroke="black" cx="790" cy="-395" rx="31.8198" ry="31.8198"/>
49 <text text-anchor="middle" x="790" y="-391.4" font-family="Times Roman,serif" font-size="14.00">loop</text>
50 </g>
51 <!-- start3&#45;&gt;loop -->
52 <g id="edge6" class="edge"><title>start3&#45;&gt;loop</title>
53 <path fill="none" stroke="black" d="M578.778,-395C625.49,-395 700.728,-395 747.665,-395"/>
54 <polygon fill="black" stroke="black" points="747.805,-398.5 757.805,-395 747.805,-391.5 747.805,-398.5"/>
55 <text text-anchor="middle" x="675" y="-400.4" font-family="Times Roman,serif" font-size="14.00">Write CONNACK</text>
56 </g>
57 <!-- ping -->
58 <g id="node10" class="node"><title>ping</title>
59 <ellipse fill="none" stroke="black" cx="1135" cy="-593" rx="32.0265" ry="32.5269"/>
60 <text text-anchor="middle" x="1135" y="-589.4" font-family="Times Roman,serif" font-size="14.00">ping</text>
61 </g>
62 <!-- loop&#45;&gt;ping -->
63 <g id="edge8" class="edge"><title>loop&#45;&gt;ping</title>
64 <path fill="none" stroke="black" d="M800.39,-425.317C809.609,-448.006 825.187,-478.237 848,-497 920.691,-556.785 1032.18,-579.907 1092.58,-588.403"/>
65 <polygon fill="black" stroke="black" points="1092.15,-591.877 1102.53,-589.734 1093.08,-584.939 1092.15,-591.877"/>
66 <text text-anchor="middle" x="946" y="-583.4" font-family="Times Roman,serif" font-size="14.00">Elapsed ping interval</text>
67 </g>
68 <!-- broadcast -->
69 <g id="node12" class="node"><title>broadcast</title>
70 <ellipse fill="none" stroke="black" cx="1135" cy="-281" rx="58.1882" ry="58.6899"/>
71 <text text-anchor="middle" x="1135" y="-277.4" font-family="Times Roman,serif" font-size="14.00">broadcast</text>
72 </g>
73 <!-- loop&#45;&gt;broadcast -->
74 <g id="edge10" class="edge"><title>loop&#45;&gt;broadcast</title>
75 <path fill="none" stroke="black" d="M811.332,-370.953C821.492,-360.892 834.388,-349.946 848,-343 917.32,-307.628 1006.03,-292.395 1066.35,-285.86"/>
76 <polygon fill="black" stroke="black" points="1066.94,-289.319 1076.53,-284.811 1066.22,-282.355 1066.94,-289.319"/>
77 <text text-anchor="middle" x="946" y="-348.4" font-family="Times Roman,serif" font-size="14.00">Receive broadcast request</text>
78 </g>
79 <!-- conn_broken -->
80 <g id="node26" class="node"><title>conn_broken</title>
81 <ellipse fill="none" stroke="black" cx="1361" cy="-99" rx="73.0388" ry="73.5391"/>
82 <text text-anchor="middle" x="1361" y="-95.4" font-family="Times Roman,serif" font-size="14.00">conn_broken</text>
83 </g>
84 <!-- loop&#45;&gt;conn_broken -->
85 <g id="edge28" class="edge"><title>loop&#45;&gt;conn_broken</title>
86 <path fill="none" stroke="black" d="M793.216,-363.054C799.833,-304.219 817.014,-182.243 848,-155 967.196,-50.2026 1167.08,-63.6291 1278.91,-81.8408"/>
87 <polygon fill="black" stroke="black" points="1278.34,-85.2954 1288.79,-83.4998 1279.5,-78.392 1278.34,-85.2954"/>
88 <text text-anchor="middle" x="946" y="-160.4" font-family="Times Roman,serif" font-size="14.00">Receive connbroken request</text>
89 </g>
90 <!-- conn_warn -->
91 <g id="node28" class="node"><title>conn_warn</title>
92 <ellipse fill="none" stroke="black" cx="1135" cy="-477" rx="65.7609" ry="65.7609"/>
93 <text text-anchor="middle" x="1135" y="-473.4" font-family="Times Roman,serif" font-size="14.00">conn_warn</text>
94 </g>
95 <!-- loop&#45;&gt;conn_warn -->
96 <g id="edge30" class="edge"><title>loop&#45;&gt;conn_warn</title>
97 <path fill="none" stroke="black" d="M814.092,-416.512C823.957,-424.185 835.89,-432.126 848,-437 915.942,-464.343 999.421,-473.523 1058.8,-476.355"/>
98 <polygon fill="black" stroke="black" points="1058.71,-479.855 1068.85,-476.786 1059.01,-472.861 1058.71,-479.855"/>
99 <text text-anchor="middle" x="946" y="-480.4" font-family="Times Roman,serif" font-size="14.00">Receive connwarn request</text>
100 </g>
101 <!-- pong_wait -->
102 <g id="node14" class="node"><title>pong_wait</title>
103 <ellipse fill="none" stroke="black" cx="537" cy="-653" rx="62.9325" ry="62.9325"/>
104 <text text-anchor="middle" x="537" y="-649.4" font-family="Times Roman,serif" font-size="14.00">pong_wait</text>
105 </g>
106 <!-- ping&#45;&gt;pong_wait -->
107 <g id="edge12" class="edge"><title>ping&#45;&gt;pong_wait</title>
108 <path fill="none" stroke="black" d="M1103.4,-600.831C1035.81,-617.134 871.913,-654.261 732,-667 681.542,-671.594 668.481,-671.33 618,-667 615.134,-666.754 612.217,-666.46 609.275,-666.127"/>
109 <polygon fill="black" stroke="black" points="609.573,-662.637 599.214,-664.858 608.697,-669.582 609.573,-662.637"/>
110 <text text-anchor="middle" x="790" y="-670.4" font-family="Times Roman,serif" font-size="14.00">Write PING</text>
111 </g>
112 <!-- ack_wait -->
113 <g id="node16" class="node"><title>ack_wait</title>
114 <ellipse fill="none" stroke="black" cx="1598" cy="-373" rx="55.1543" ry="55.1543"/>
115 <text text-anchor="middle" x="1598" y="-369.4" font-family="Times Roman,serif" font-size="14.00">ack_wait</text>
116 </g>
117 <!-- broadcast&#45;&gt;ack_wait -->
118 <g id="edge14" class="edge"><title>broadcast&#45;&gt;ack_wait</title>
119 <path fill="none" stroke="black" d="M1193.25,-288.88C1264.95,-299.067 1390.23,-318.45 1496,-343 1508.9,-345.993 1522.57,-349.664 1535.58,-353.397"/>
120 <polygon fill="black" stroke="black" points="1534.79,-356.813 1545.37,-356.254 1536.75,-350.093 1534.79,-356.813"/>
121 <text text-anchor="middle" x="1361" y="-348.4" font-family="Times Roman,serif" font-size="14.00">Write BROADCAST [fits one wire msg]</text>
122 </g>
123 <!-- split_broadcast -->
124 <g id="node18" class="node"><title>split_broadcast</title>
125 <ellipse fill="none" stroke="black" cx="1598" cy="-216" rx="84.1457" ry="84.1457"/>
126 <text text-anchor="middle" x="1598" y="-212.4" font-family="Times Roman,serif" font-size="14.00">split_broadcast</text>
127 </g>
128 <!-- broadcast&#45;&gt;split_broadcast -->
129 <g id="edge16" class="edge"><title>broadcast&#45;&gt;split_broadcast</title>
130 <path fill="none" stroke="black" d="M1193.17,-272.834C1271.44,-261.846 1411.56,-242.174 1504.66,-229.104"/>
131 <polygon fill="black" stroke="black" points="1505.23,-232.558 1514.65,-227.702 1504.26,-225.626 1505.23,-232.558"/>
132 <text text-anchor="middle" x="1361" y="-272.4" font-family="Times Roman,serif" font-size="14.00">BROADCAST does not fit one wire msg</text>
133 </g>
134 <!-- pong_wait&#45;&gt;stop -->
135 <g id="edge40" class="edge"><title>pong_wait&#45;&gt;stop</title>
136 <path fill="none" stroke="black" d="M600.164,-653C651.344,-653 725.322,-653 790,-653 790,-653 790,-653 1972,-653 2131.11,-653 2245.53,-463.168 2289.33,-376.844"/>
137 <polygon fill="black" stroke="black" points="2292.5,-378.343 2293.84,-367.834 2286.24,-375.212 2292.5,-378.343"/>
138 <text text-anchor="middle" x="1361" y="-658.4" font-family="Times Roman,serif" font-size="14.00">Elapsed exhange timeout</text>
139 </g>
140 <!-- pong_wait&#45;&gt;loop -->
141 <g id="edge18" class="edge"><title>pong_wait&#45;&gt;loop</title>
142 <path fill="none" stroke="black" d="M581.359,-607.765C632.774,-555.333 716.085,-470.376 760.273,-425.314"/>
143 <polygon fill="black" stroke="black" points="762.774,-427.763 767.277,-418.172 757.776,-422.862 762.774,-427.763"/>
144 <text text-anchor="middle" x="675" y="-574.4" font-family="Times Roman,serif" font-size="14.00">Read PONG</text>
145 </g>
146 <!-- ack_wait&#45;&gt;stop -->
147 <g id="edge36" class="edge"><title>ack_wait&#45;&gt;stop</title>
148 <path fill="none" stroke="black" d="M1653.02,-372.757C1765.96,-371.776 2032.03,-366.986 2254,-344 2256.89,-343.701 2259.85,-343.348 2262.84,-342.959"/>
149 <polygon fill="black" stroke="black" points="2263.58,-346.389 2272.99,-341.517 2262.59,-339.459 2263.58,-346.389"/>
150 <text text-anchor="middle" x="1972" y="-373.4" font-family="Times Roman,serif" font-size="14.00">Elapsed exhange timeout</text>
151 </g>
152 <!-- ack_wait&#45;&gt;loop -->
153 <g id="edge20" class="edge"><title>ack_wait&#45;&gt;loop</title>
154 <path fill="none" stroke="black" d="M1542.83,-374.081C1445.66,-375.995 1237.64,-380.146 1062,-384 966.886,-386.087 942.947,-382.989 848,-389 842.829,-389.327 837.406,-389.764 832.04,-390.252"/>
155 <polygon fill="black" stroke="black" points="831.485,-386.79 821.871,-391.242 832.163,-393.757 831.485,-386.79"/>
156 <text text-anchor="middle" x="1135" y="-389.4" font-family="Times Roman,serif" font-size="14.00">Read ACK</text>
157 </g>
158 <!-- split_broadcast&#45;&gt;loop -->
159 <g id="edge26" class="edge"><title>split_broadcast&#45;&gt;loop</title>
160 <path fill="none" stroke="black" d="M1515.33,-201.109C1409.22,-184.681 1219.98,-164.458 1062,-196 960.985,-216.168 924.079,-215.554 848,-285 827.351,-303.849 812.751,-331.776 803.364,-354.774"/>
161 <polygon fill="black" stroke="black" points="800.027,-353.699 799.658,-364.287 806.549,-356.24 800.027,-353.699"/>
162 <text text-anchor="middle" x="1135" y="-201.4" font-family="Times Roman,serif" font-size="14.00">All split msgs written</text>
163 </g>
164 <!-- split_ack_wait -->
165 <g id="node22" class="node"><title>split_ack_wait</title>
166 <ellipse fill="none" stroke="black" cx="1972" cy="-257" rx="80.1095" ry="80.6102"/>
167 <text text-anchor="middle" x="1972" y="-253.4" font-family="Times Roman,serif" font-size="14.00">split_ack_wait</text>
168 </g>
169 <!-- split_broadcast&#45;&gt;split_ack_wait -->
170 <g id="edge22" class="edge"><title>split_broadcast&#45;&gt;split_ack_wait</title>
171 <path fill="none" stroke="black" d="M1680.55,-232.126C1687.12,-233.18 1693.66,-234.156 1700,-235 1760.22,-243.022 1828.36,-248.528 1881.38,-252.025"/>
172 <polygon fill="black" stroke="black" points="1881.23,-255.523 1891.43,-252.676 1881.68,-248.537 1881.23,-255.523"/>
173 <text text-anchor="middle" x="1783" y="-256.4" font-family="Times Roman,serif" font-size="14.00">Write split BROADCAST</text>
174 </g>
175 <!-- split_ack_wait&#45;&gt;stop -->
176 <g id="edge38" class="edge"><title>split_ack_wait&#45;&gt;stop</title>
177 <path fill="none" stroke="black" d="M2050.59,-275.189C2116.55,-290.456 2208.51,-311.74 2263.08,-324.372"/>
178 <polygon fill="black" stroke="black" points="2262.62,-327.857 2273.15,-326.702 2264.2,-321.037 2262.62,-327.857"/>
179 <text text-anchor="middle" x="2166" y="-327.4" font-family="Times Roman,serif" font-size="14.00">Elapsed exhange timeout</text>
180 </g>
181 <!-- split_ack_wait&#45;&gt;split_broadcast -->
182 <g id="edge24" class="edge"><title>split_ack_wait&#45;&gt;split_broadcast</title>
183 <path fill="none" stroke="black" d="M1899.33,-222.493C1888.37,-218.573 1877.04,-215.2 1866,-213 1808.89,-201.617 1743.56,-202.081 1691.71,-205.529"/>
184 <polygon fill="black" stroke="black" points="1691.25,-202.053 1681.52,-206.256 1691.74,-209.035 1691.25,-202.053"/>
185 <text text-anchor="middle" x="1783" y="-218.4" font-family="Times Roman,serif" font-size="14.00">Read ACK</text>
186 </g>
187 <!-- conn_broken&#45;&gt;stop -->
188 <g id="edge32" class="edge"><title>conn_broken&#45;&gt;stop</title>
189 <path fill="none" stroke="black" d="M1434.61,-95.8477C1564.45,-92.5456 1841.16,-95.6985 2060,-168 2154.32,-199.163 2175.34,-218.326 2254,-279 2262.17,-285.305 2270.33,-292.782 2277.75,-300.185"/>
190 <polygon fill="black" stroke="black" points="2275.42,-302.808 2284.91,-307.517 2280.43,-297.917 2275.42,-302.808"/>
191 <text text-anchor="middle" x="1783" y="-127.4" font-family="Times Roman,serif" font-size="14.00">Write CONNBROKEN</text>
192 </g>
193 <!-- conn_warn&#45;&gt;loop -->
194 <g id="edge34" class="edge"><title>conn_warn&#45;&gt;loop</title>
195 <path fill="none" stroke="black" d="M1083.63,-435.301C1071.29,-427.246 1057.71,-419.822 1044,-415 972.758,-389.933 883.562,-389.406 832.05,-391.836"/>
196 <polygon fill="black" stroke="black" points="831.758,-388.346 821.959,-392.373 832.131,-395.337 831.758,-388.346"/>
197 <text text-anchor="middle" x="946" y="-420.4" font-family="Times Roman,serif" font-size="14.00">Write CONNWARN</text>
198 </g>
199 </g>
200 </svg>