-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadingClientSocket.drawio
185 lines (185 loc) · 17.7 KB
/
readingClientSocket.drawio
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<mxfile host="app.diagrams.net" modified="2022-05-29T09:29:14.730Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36 Edg/101.0.1210.53" etag="yoFLXopfv-jJGV2V_mVb" version="18.1.3" type="github">
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
<mxGraphModel dx="1343" dy="667" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="2339" pageHeight="3300" background="#F4F1DE" math="0" shadow="0">
<root>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="-A4_LXCZxTvNpayDPFUK-17" value="" style="shape=singleArrow;direction=south;whiteSpace=wrap;html=1;fontSize=16;fillColor=#fff2cc;strokeColor=#d6b656;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="586.63" y="444" width="16.25" height="88" as="geometry" />
</mxCell>
<mxCell id="-A4_LXCZxTvNpayDPFUK-0" value="client<br>socket" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;fontFamily=Helvetica;fontSize=12;fontColor=default;align=center;strokeColor=default;fillColor=default;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="149" y="386" width="73" height="101" as="geometry" />
</mxCell>
<mxCell id="-A4_LXCZxTvNpayDPFUK-1" value="NioWorker" style="html=1;fillColor=#CCCCCC;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="562.5" y="226" width="110" height="50" as="geometry" />
</mxCell>
<mxCell id="-A4_LXCZxTvNpayDPFUK-2" value="SocketChannel" style="ellipse;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#d6b656;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="333" y="423" width="100" height="34" as="geometry" />
</mxCell>
<mxCell id="-A4_LXCZxTvNpayDPFUK-5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;fontSize=18;startArrow=open;startFill=0;endArrow=none;endFill=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="-A4_LXCZxTvNpayDPFUK-4" target="-A4_LXCZxTvNpayDPFUK-1" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="-A4_LXCZxTvNpayDPFUK-4" value="" style="verticalLabelPosition=bottom;html=1;verticalAlign=top;strokeWidth=2;shape=mxgraph.lean_mapping.physical_pull;pointerEvents=1;fillColor=#FFFA75;rotation=-180;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="588.5" y="331" width="58" height="283" as="geometry" />
</mxCell>
<mxCell id="-A4_LXCZxTvNpayDPFUK-6" value="read()" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;fontSize=16;fillColor=#fff2cc;strokeColor=#d6b656;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="554.5" y="427.5" width="80.5" height="25" as="geometry" />
</mxCell>
<mxCell id="-A4_LXCZxTvNpayDPFUK-3" value="selector" style="ellipse;whiteSpace=wrap;html=1;fillColor=#fff2cc;strokeColor=#d6b656;fontSize=18;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="484" y="387" width="221.5" height="25" as="geometry" />
</mxCell>
<mxCell id="-A4_LXCZxTvNpayDPFUK-13" value="" style="endArrow=classic;html=1;rounded=0;fontSize=16;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="-A4_LXCZxTvNpayDPFUK-0" target="-A4_LXCZxTvNpayDPFUK-2" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="309" y="528" as="sourcePoint" />
<mxPoint x="359" y="478" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="-A4_LXCZxTvNpayDPFUK-15" value="NioSocketChannel" style="ellipse;whiteSpace=wrap;html=1;fontSize=16;fillColor=#FFF4C3;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="731" y="321" width="156" height="30" as="geometry" />
</mxCell>
<mxCell id="-A4_LXCZxTvNpayDPFUK-16" value="" style="endArrow=classic;html=1;rounded=0;fontSize=16;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.98;entryY=0.5;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="-A4_LXCZxTvNpayDPFUK-2" target="-A4_LXCZxTvNpayDPFUK-4" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="334" y="569" as="sourcePoint" />
<mxPoint x="589" y="474" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="-A4_LXCZxTvNpayDPFUK-18" value="bit[]" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=16;labelBackgroundColor=none;" parent="-A4_LXCZxTvNpayDPFUK-16" vertex="1" connectable="0">
<mxGeometry x="-0.401" relative="1" as="geometry">
<mxPoint x="12" y="16" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="-A4_LXCZxTvNpayDPFUK-19" value="" style="endArrow=classic;html=1;rounded=0;fontSize=16;entryX=0.1;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" target="-A4_LXCZxTvNpayDPFUK-26" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="599" y="498" as="sourcePoint" />
<mxPoint x="759" y="583" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="-A4_LXCZxTvNpayDPFUK-20" value="" style="shape=message;html=1;outlineConnect=0;labelBackgroundColor=none;fontSize=16;fillColor=#FFF4C3;" parent="-A4_LXCZxTvNpayDPFUK-19" vertex="1">
<mxGeometry width="20" height="14" relative="1" as="geometry">
<mxPoint x="-10" y="-7" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="-A4_LXCZxTvNpayDPFUK-22" value="fireMessageReceived()" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=14;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="754" y="515" width="154" height="21" as="geometry" />
</mxCell>
<mxCell id="-A4_LXCZxTvNpayDPFUK-23" value="" style="ellipse;whiteSpace=wrap;html=1;fontFamily=Helvetica;fontSize=14;fontColor=default;align=center;strokeColor=default;fillColor=#FFF4C3;rotation=90;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="978.4299999999998" y="427.5" width="39.34" height="160" as="geometry" />
</mxCell>
<mxCell id="-A4_LXCZxTvNpayDPFUK-24" value="channelPipline" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=16;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="936" y="496" width="114" height="23" as="geometry" />
</mxCell>
<mxCell id="-A4_LXCZxTvNpayDPFUK-25" value="" style="endArrow=none;html=1;rounded=0;fontSize=14;entryX=0.554;entryY=1.005;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;endFill=0;entryPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="-A4_LXCZxTvNpayDPFUK-23" target="-A4_LXCZxTvNpayDPFUK-15" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="846" y="748.5" as="sourcePoint" />
<mxPoint x="896" y="698.5" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="-A4_LXCZxTvNpayDPFUK-26" value="" style="shape=curlyBracket;whiteSpace=wrap;html=1;rounded=1;labelBackgroundColor=none;fontSize=14;fillColor=#FFF4C3;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="822" y="506" width="26" height="118.75" as="geometry" />
</mxCell>
<mxCell id="AEAGeZcbQdEhw4Rx1AiT-0" value="byte[]" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="694" y="550" width="42" height="18" as="geometry" />
</mxCell>
<mxCell id="AEAGeZcbQdEhw4Rx1AiT-1" value="<span style="font-size: 14px;">Channels</span>" style="ellipse;whiteSpace=wrap;html=1;fillColor=#FFF4C3;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="777" y="484" width="92" height="26" as="geometry" />
</mxCell>
<mxCell id="AEAGeZcbQdEhw4Rx1AiT-4" value="" style="ellipse;whiteSpace=wrap;html=1;fontSize=16;fillColor=#FFF4C3;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="923" y="571.5" width="19" height="56" as="geometry" />
</mxCell>
<mxCell id="AEAGeZcbQdEhw4Rx1AiT-5" value="" style="ellipse;whiteSpace=wrap;html=1;fontSize=16;fillColor=#FFF4C3;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="962" y="619.5" width="19" height="56" as="geometry" />
</mxCell>
<mxCell id="AEAGeZcbQdEhw4Rx1AiT-6" value="" style="endArrow=classic;html=1;rounded=0;fontSize=16;entryX=0;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="AEAGeZcbQdEhw4Rx1AiT-4" target="AEAGeZcbQdEhw4Rx1AiT-5" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="875" y="779.5" as="sourcePoint" />
<mxPoint x="925" y="729.5" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="AEAGeZcbQdEhw4Rx1AiT-7" value="" style="ellipse;whiteSpace=wrap;html=1;fontSize=16;fillColor=#FFF4C3;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1001" y="660.5" width="19" height="56" as="geometry" />
</mxCell>
<mxCell id="AEAGeZcbQdEhw4Rx1AiT-8" value="" style="endArrow=classic;html=1;rounded=0;fontSize=16;entryX=0;entryY=0;entryDx=0;entryDy=0;exitX=1;exitY=1;exitDx=0;exitDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="AEAGeZcbQdEhw4Rx1AiT-5" target="AEAGeZcbQdEhw4Rx1AiT-7" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="928" y="744.5" as="sourcePoint" />
<mxPoint x="978" y="694.5" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="AEAGeZcbQdEhw4Rx1AiT-9" value="" style="endArrow=none;html=1;rounded=0;fontSize=16;entryX=1;entryY=0;entryDx=0;entryDy=0;exitX=0.843;exitY=0.869;exitDx=0;exitDy=0;exitPerimeter=0;strokeWidth=1;endFill=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="-A4_LXCZxTvNpayDPFUK-23" target="AEAGeZcbQdEhw4Rx1AiT-4" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="1004" y="492.5" as="sourcePoint" />
<mxPoint x="1054" y="442.5" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="AEAGeZcbQdEhw4Rx1AiT-10" value="handler" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=11;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="984" y="724" width="53" height="17" as="geometry" />
</mxCell>
<mxCell id="AEAGeZcbQdEhw4Rx1AiT-11" value="sendUpstream()" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=7;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="977" y="643" width="103" height="12" as="geometry" />
</mxCell>
<mxCell id="AEAGeZcbQdEhw4Rx1AiT-12" value="sendUpstream()" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=7;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="938" y="602.5" width="103" height="12" as="geometry" />
</mxCell>
<mxCell id="AEAGeZcbQdEhw4Rx1AiT-13" value="handler" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=11;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="945" y="680" width="53" height="17" as="geometry" />
</mxCell>
<mxCell id="AEAGeZcbQdEhw4Rx1AiT-14" value="handler" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=11;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="906" y="635.5" width="53" height="17" as="geometry" />
</mxCell>
<mxCell id="AEAGeZcbQdEhw4Rx1AiT-15" value="server logic" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;fontSize=7;fillColor=#FFFFFF;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="1466" y="691" width="63" height="63" as="geometry" />
</mxCell>
<mxCell id="AEAGeZcbQdEhw4Rx1AiT-19" value="" style="endArrow=classic;html=1;rounded=0;fontSize=7;entryX=0;entryY=0.3333333333333333;entryDx=0;entryDy=0;entryPerimeter=0;exitX=1;exitY=1;exitDx=0;exitDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="AEAGeZcbQdEhw4Rx1AiT-7" target="AEAGeZcbQdEhw4Rx1AiT-15" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="920" y="829.5" as="sourcePoint" />
<mxPoint x="970" y="779.5" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="AEAGeZcbQdEhw4Rx1AiT-20" value="" style="endArrow=none;html=1;rounded=0;fontSize=7;entryX=0.5;entryY=0;entryDx=0;entryDy=0;strokeWidth=1;endFill=0;exitX=1.007;exitY=0.663;exitDx=0;exitDy=0;exitPerimeter=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="-A4_LXCZxTvNpayDPFUK-23" target="AEAGeZcbQdEhw4Rx1AiT-5" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="971" y="547" as="sourcePoint" />
<mxPoint x="1082" y="571" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="AEAGeZcbQdEhw4Rx1AiT-21" value="" style="endArrow=none;html=1;rounded=0;fontSize=7;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.985;exitY=0.427;exitDx=0;exitDy=0;exitPerimeter=0;strokeWidth=1;endFill=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="-A4_LXCZxTvNpayDPFUK-23" target="AEAGeZcbQdEhw4Rx1AiT-7" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="821" y="710" as="sourcePoint" />
<mxPoint x="871" y="660" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="AEAGeZcbQdEhw4Rx1AiT-25" value="<span style="font-size: 7px;">DefaultChannelHandlerContext</span>" style="ellipse;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontSize=7;fillColor=#FFF4C3;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="712" y="716.5" width="228" height="33" as="geometry" />
</mxCell>
<mxCell id="AEAGeZcbQdEhw4Rx1AiT-26" value="" style="endArrow=none;html=1;rounded=0;fontSize=7;strokeWidth=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;startArrow=diamond;startFill=0;endFill=0;exitX=0;exitY=1;exitDx=0;exitDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="AEAGeZcbQdEhw4Rx1AiT-25" target="AEAGeZcbQdEhw4Rx1AiT-4" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="862" y="697" as="sourcePoint" />
<mxPoint x="912" y="647" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="AEAGeZcbQdEhw4Rx1AiT-27" value="<span style="font-size: 7px;">DefaultChannelHandlerContext</span>" style="ellipse;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontSize=7;fillColor=#FFF4C3;opacity=30;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="765" y="763.5" width="228" height="33" as="geometry" />
</mxCell>
<mxCell id="AEAGeZcbQdEhw4Rx1AiT-28" value="<span style="font-size: 7px;">DefaultChannelHandlerContext</span>" style="ellipse;whiteSpace=wrap;html=1;labelBackgroundColor=none;fontSize=7;fillColor=#FFF4C3;opacity=30;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="826" y="803.5" width="228" height="33" as="geometry" />
</mxCell>
<mxCell id="AEAGeZcbQdEhw4Rx1AiT-29" value="" style="endArrow=none;html=1;rounded=0;fontSize=7;strokeWidth=1;startArrow=diamond;startFill=0;endFill=0;exitX=0.054;exitY=0.803;exitDx=0;exitDy=0;exitPerimeter=0;opacity=30;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="AEAGeZcbQdEhw4Rx1AiT-27" target="AEAGeZcbQdEhw4Rx1AiT-5" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="822.2331162997507" y="698.7619576193088" as="sourcePoint" />
<mxPoint x="932.9999999999911" y="609.4999999999998" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="AEAGeZcbQdEhw4Rx1AiT-30" value="" style="endArrow=none;html=1;rounded=0;fontSize=7;strokeWidth=1;startArrow=diamond;startFill=0;endFill=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;opacity=30;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="AEAGeZcbQdEhw4Rx1AiT-28" target="AEAGeZcbQdEhw4Rx1AiT-7" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="751.2331162997507" y="862.1019576193087" as="sourcePoint" />
<mxPoint x="948.9664258448206" y="803.9966751494484" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="pPi6TFnCyVPFsedaYkK_-0" value="" style="endArrow=diamond;html=1;rounded=0;fontSize=14;entryX=1;entryY=1;entryDx=0;entryDy=0;exitX=0.416;exitY=0.052;exitDx=0;exitDy=0;endFill=0;exitPerimeter=0;startArrow=none;startFill=0;dashed=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="-A4_LXCZxTvNpayDPFUK-15" target="-A4_LXCZxTvNpayDPFUK-1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="941.9999999999999" y="356.9999999999999" as="sourcePoint" />
<mxPoint x="742.324" y="256.32000000000005" as="targetPoint" />
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>