0
|
1 package rep;
|
|
2
|
|
3 import java.io.IOException;
|
|
4 import java.net.InetSocketAddress;
|
2
|
5 import java.nio.channels.SelectableChannel;
|
0
|
6 import java.nio.channels.SelectionKey;
|
|
7 import java.nio.channels.Selector;
|
179
|
8
|
178
|
9 import java.util.Iterator;
|
83
|
10 import java.util.LinkedList;
|
144
|
11 import java.util.List;
|
178
|
12 import java.util.concurrent.BlockingQueue;
|
0
|
13
|
123
|
14 import rep.channel.REPServerSocketChannel;
|
133
|
15 import rep.channel.REPSocketChannel;
|
144
|
16 import rep.handler.PacketSet;
|
146
|
17 import rep.handler.REPHandler;
|
148
|
18 import rep.handler.REPHandlerImpl;
|
164
|
19 import rep.handler.REPHandlerInMerge;
|
158
|
20 import rep.channel.REPSelector;
|
56
|
21 import rep.xml.SessionXMLDecoder;
|
45
|
22 import rep.xml.SessionXMLEncoder;
|
|
23
|
1
|
24 //+-------+--------+--------+-------+--------+---------+------+
|
|
25 //| cmd | session| editor | seqid | lineno | textsiz | text |
|
|
26 //| | id | id | | | | |
|
|
27 //+-------+--------+--------+-------+--------+---------+------+
|
|
28 //o-------header section (network order)-------------o
|
|
29 /*int cmd; // command
|
101
|
30 int sid; // session ID : uniqu to editing file
|
123
|
31 int eid; // editor ID : owner editor ID = 1。Session に対して unique
|
122
|
32 int seqno; // Sequence number : sequence number はエディタごとに管理
|
1
|
33 int lineno; // line number
|
101
|
34 int textsize; // textsize : bytesize
|
1
|
35 byte[] text;*/
|
|
36
|
8
|
37 public class SessionManager implements ConnectionListener, REPActionListener{
|
0
|
38
|
|
39
|
163
|
40 //private SessionList sessionlist;
|
164
|
41 private LinkedList<Session> sessionList;
|
83
|
42 private SessionManagerGUI gui;
|
2
|
43 private Selector selector;
|
7
|
44 private SessionManagerList smList;
|
17
|
45 private String myHost;
|
21
|
46 private boolean isMaster = true;
|
160
|
47 //private EditorList ownEditorList;
|
144
|
48 private List<Editor> editorList;
|
78
|
49 private String maxHost;
|
148
|
50 private boolean isSimulation;
|
155
|
51 private List<PacketSet> packetSetList;
|
178
|
52 private BlockingQueue<SessionManagerEvent> waitingQueue;
|
163
|
53 //private List<SessionManagerNode> managerList;
|
95
|
54 private static int temp_port;
|
|
55 private static int send_port;
|
101
|
56
|
|
57 static final int DEFAULT_PORT = 8766;
|
|
58
|
2
|
59 public SessionManager(int port) {
|
83
|
60 gui = new SessionManagerGUI();
|
2
|
61 }
|
|
62
|
|
63 public void openSelector() throws IOException{
|
123
|
64 selector = REPSelector.open();
|
2
|
65 }
|
0
|
66
|
155
|
67 public void init(int port) throws InterruptedException, IOException {
|
2
|
68
|
148
|
69 REPServerSocketChannel<REPCommand> ssc = REPServerSocketChannel.<REPCommand>open();
|
122
|
70 ssc.configureBlocking(false); //reuse address 必須
|
101
|
71 ssc.socket().setReuseAddress(true);
|
0
|
72 ssc.socket().bind(new InetSocketAddress(port));
|
|
73 ssc.register(selector, SelectionKey.OP_ACCEPT);
|
6
|
74
|
|
75
|
163
|
76 //sessionlist = new SessionList();
|
144
|
77 sessionList = new LinkedList<Session>();
|
7
|
78 smList = new SessionManagerList();
|
162
|
79 //ownEditorList = new EditorList();
|
144
|
80 editorList = new LinkedList<Editor>();
|
155
|
81 packetSetList = new LinkedList<PacketSet>();
|
0
|
82
|
155
|
83 // main loop
|
|
84 mainLoop();
|
|
85 }
|
|
86
|
|
87 private void mainLoop() throws IOException {
|
0
|
88 while(true){
|
178
|
89 if(checkSend()){
|
|
90 if(selector.selectNow() > 0){
|
|
91 select();
|
|
92 }
|
|
93 continue;
|
|
94 }
|
0
|
95 selector.select();
|
144
|
96 select();
|
|
97 }
|
|
98 }
|
|
99
|
178
|
100 private boolean checkSend() {
|
|
101 for(Iterator<PacketSet> it = packetSetList.iterator(); it.hasNext();){
|
|
102 PacketSet p = it.next();
|
|
103 if(p.getEditor().isMerging()) {
|
|
104 continue;
|
|
105 }else{
|
|
106 manage(p.channel, p.command);
|
|
107 it.remove();
|
|
108 }
|
|
109 }
|
|
110 return false;
|
|
111 }
|
|
112
|
144
|
113 private void select() throws IOException {
|
178
|
114 SessionManagerEvent e = waitingQueue.poll();
|
|
115 if(e != null) {
|
|
116 e.exec();
|
|
117 }
|
148
|
118 for(SelectionKey key : selector.selectedKeys()){
|
144
|
119 if(key.isAcceptable()){
|
|
120 /*** serverChannelはenableになったSelectionKeyのchannel ***/
|
146
|
121 REPServerSocketChannel serverChannel = (REPServerSocketChannel)key.channel();
|
173
|
122 REPSocketChannel channel = serverChannel.accept1(); //keyからchannelを取って、accept
|
144
|
123 registerChannel (selector, channel, SelectionKey.OP_READ);
|
|
124 channel = null;
|
123
|
125
|
144
|
126 }else if(key.isReadable()){
|
|
127
|
146
|
128 REPHandler handler = (REPHandler)key.attachment();
|
|
129 handler.handle(key);
|
144
|
130
|
|
131 }else if(key.isConnectable()){
|
|
132 System.out.println("Connectable");
|
0
|
133 }
|
|
134 }
|
|
135 }
|
1
|
136
|
178
|
137 private void registerChannel(Selector selector, SelectableChannel channel, int ops) throws IOException {
|
2
|
138 if(channel == null) {
|
|
139 return;
|
|
140 }
|
|
141 channel.configureBlocking(false);
|
170
|
142 REPHandler handler = new REPHandlerImpl(-1, this);
|
148
|
143 channel.register(selector, ops, handler);
|
2
|
144 }
|
|
145
|
144
|
146 public void manage(REPSocketChannel<REPCommand> channel, REPCommand receivedCommand) {
|
75
|
147 if(receivedCommand == null) return;
|
158
|
148 //Session session;
|
141
|
149 REPCommand sendCommand = new REPCommand(receivedCommand);
|
178
|
150 REPSocketChannel<REPCommand> send = channel;
|
144
|
151
|
75
|
152 switch(receivedCommand.cmd){
|
144
|
153
|
0
|
154 case REP.SMCMD_JOIN:
|
164
|
155 {
|
|
156 //どのSessionにも属さないエディタをリストに追加
|
|
157 Editor editor = new Editor(editorList.size(), channel);
|
|
158 editor.setHost(myHost);
|
|
159 editorList.add(editor);
|
144
|
160
|
164
|
161 //GUIに反映
|
|
162 gui.setComboEditor(editor.getEID(), channel);
|
|
163 }
|
|
164
|
|
165
|
|
166 break;
|
144
|
167
|
1
|
168 case REP.SMCMD_JOIN_ACK:
|
144
|
169
|
1
|
170 break;
|
144
|
171
|
0
|
172 case REP.SMCMD_PUT:
|
164
|
173 {
|
|
174 //エディタのリストに追加
|
|
175 Editor editor = new Editor(editorList.size(), channel);
|
|
176 editorList.add(editor);
|
|
177
|
|
178 //Sessionを生成
|
|
179 int sid = sessionList.size();
|
|
180 editor = new Editor(0, channel);
|
|
181 editor.setHost(myHost);
|
|
182 Session session = new Session(sid, editor);
|
|
183 session.hasOwner(true);
|
|
184 sessionList.add(new Session(sid, editor));
|
|
185
|
|
186 //GUIに反映
|
178
|
187 //gui.update();ぐらいで
|
164
|
188 gui.setComboSession(session.getSID(), session.getName());
|
|
189 gui.setComboEditor(editor.getEID(), editor.getChannel());
|
158
|
190
|
164
|
191 //エディタにAckを送信
|
|
192 sendCommand.setCMD(REP.SMCMD_PUT_ACK);
|
|
193 sendCommand.setEID(editor.getEID());
|
|
194 sendCommand.setSID(session.getSID());
|
|
195 editor.send(sendCommand);
|
144
|
196
|
164
|
197 //他のSessionManagerへSessionの追加を報告
|
|
198 SessionXMLEncoder sessionEncoder = new SessionXMLEncoder(session);
|
|
199 REPCommand command = new REPCommand();
|
|
200 command.setSID(session.getSID());
|
|
201 command.setString(sessionEncoder.sessionListToXML());
|
|
202 command.setCMD(REP.SMCMD_UPDATE);
|
|
203 smList.sendExcept(channel, command);
|
|
204
|
|
205 }
|
|
206
|
|
207 break;
|
133
|
208
|
0
|
209 case REP.SMCMD_SELECT:
|
164
|
210 {
|
178
|
211 //他のSessionManagerをエディタとしてSessionに追加
|
164
|
212 Editor editor = new Editor(channel);
|
|
213 Session session = getSession(receivedCommand.sid);
|
|
214 session.addEditor(editor);
|
|
215
|
|
216 if(session.hasOwner()){
|
|
217 //このSessionManagerがオーナーを持っている場合、Sessionにエディタを追加し、エディタへAckを返す
|
|
218 sendCommand.setCMD(REP.SMCMD_SELECT_ACK);
|
|
219 sendCommand.setEID(editor.getEID());
|
|
220 editor.send(sendCommand);
|
|
221 }else{
|
|
222 //オーナーを持ってない場合は、オーナーを持っているSessionManagerへSELECTコマンドを中継する
|
|
223 Editor owner = session.getOwner();
|
|
224 owner.send(receivedCommand);
|
148
|
225 }
|
164
|
226 }
|
144
|
227
|
164
|
228 break;
|
144
|
229
|
8
|
230 case REP.SMCMD_SELECT_ACK:
|
160
|
231 {
|
85
|
232 String hostport = receivedCommand.string;
|
160
|
233 Editor editor = getEditor(hostport);
|
164
|
234
|
160
|
235 if(editor != null) {
|
|
236 //host, port を見て、このコマンドが自分が送信したSelectコマンドのAckかどうかを判断する
|
|
237 REPCommand command = new REPCommand();
|
|
238 command.setCMD(REP.SMCMD_JOIN_ACK);
|
|
239 command.setSID(receivedCommand.sid);
|
|
240 command.setEID(receivedCommand.eid);
|
|
241 editor.send(command);
|
164
|
242
|
85
|
243 }else{
|
160
|
244 //自分が送信したコマンドでなければ、次のSessionManagerへ中継する
|
85
|
245 smList.sendExcept(channel, receivedCommand);
|
|
246 }
|
160
|
247 }
|
144
|
248
|
164
|
249 break;
|
144
|
250
|
8
|
251 case REP.SMCMD_SM_JOIN:
|
164
|
252
|
160
|
253 {
|
122
|
254 //SessionManagerのリストへ追加
|
83
|
255 smList.add(channel);
|
144
|
256
|
122
|
257 //XMLからSessionListオブジェクトを生成する。
|
77
|
258 SessionXMLDecoder decoder = new SessionXMLDecoder();
|
79
|
259 SessionList receivedSessionList = decoder.decode(receivedCommand.string);
|
144
|
260
|
122
|
261 //SessionListへ追加し変換テーブルを生成する。
|
163
|
262 //sessionlist.update(channel, receivedSessionList);
|
144
|
263
|
122
|
264 //myHost を設定。
|
178
|
265 //立ち上げ時にやるとlocalhostしか取れない
|
76
|
266 if(myHost == null) setMyHostName(getLocalHostName(channel));
|
144
|
267
|
122
|
268 //maxHost を設定。
|
95
|
269 if(setMaxHost(channel, receivedSessionList.getMaxHost())){
|
|
270 sendCommand = new REPCommand();
|
|
271 sendCommand.setCMD(REP.SMCMD_CH_MASTER);
|
|
272 sendCommand.setString(maxHost);
|
|
273 smList.sendExcept(channel, sendCommand);
|
|
274 }
|
144
|
275
|
122
|
276 //SessionListからXMLを生成。
|
|
277 //joinしてきたSessionManagerに対してACKを送信。
|
164
|
278 SessionXMLEncoder sessionlistEncoder = new SessionXMLEncoder(sessionList);
|
78
|
279 sendCommand = new REPCommand();
|
|
280 sendCommand.setCMD(REP.SMCMD_SM_JOIN_ACK);
|
|
281 sendCommand.setString(sessionlistEncoder.sessionListToXML());
|
178
|
282 send.write(sendCommand);
|
144
|
283
|
122
|
284 //その他の SessionManager に対して SMCMD_UPDATEを 送信。
|
78
|
285 sendCommand = new REPCommand();
|
83
|
286 sendCommand.setCMD(REP.SMCMD_UPDATE);
|
78
|
287 sendCommand.setString(receivedCommand.string);
|
|
288 smList.sendExcept(channel, sendCommand);
|
144
|
289
|
160
|
290 }
|
164
|
291 break;
|
144
|
292
|
8
|
293 case REP.SMCMD_SM_JOIN_ACK:
|
144
|
294
|
122
|
295 //XMLからSessionListオブジェクトを生成。
|
82
|
296 SessionXMLDecoder decoder2 = new SessionXMLDecoder();
|
|
297 SessionList receivedSessionList2 = decoder2.decode(receivedCommand.string);
|
144
|
298
|
122
|
299 //maxHostを決定。
|
95
|
300 if(setMaxHost(channel, receivedSessionList2.getMaxHost())){
|
|
301 sendCommand = new REPCommand();
|
|
302 sendCommand.setCMD(REP.SMCMD_CH_MASTER);
|
|
303 sendCommand.setString(maxHost);
|
|
304 smList.sendExcept(channel, sendCommand);
|
|
305 }
|
144
|
306
|
6
|
307 break;
|
144
|
308
|
8
|
309 case REP.SMCMD_UPDATE:
|
144
|
310
|
99
|
311 SessionXMLDecoder decoder3 = new SessionXMLDecoder();
|
|
312 SessionList receivedSessionList3 = decoder3.decode(receivedCommand.string);
|
144
|
313
|
122
|
314 //SessionListへ追加し変換テーブルを生成する。
|
163
|
315 //sessionlist.update(channel, receivedSessionList3);
|
179
|
316 sessionList.add(new Session(new Editor(channel)));
|
178
|
317
|
99
|
318 smList.sendExcept(channel, receivedCommand);
|
144
|
319
|
100
|
320 for(Session session3 : receivedSessionList3.getList()){
|
178
|
321 //gui.update();
|
100
|
322 gui.setComboSession(session3.getSID(), session3.getName());
|
|
323 }
|
144
|
324
|
9
|
325 break;
|
144
|
326
|
9
|
327 case REP.SMCMD_UPDATE_ACK:
|
164
|
328 if(receivedCommand.sid > sessionList.size()){
|
148
|
329 Editor editor = new Editor(channel);
|
75
|
330 editor.setName(receivedCommand.string);
|
144
|
331
|
158
|
332 Session session = new Session(editor);
|
73
|
333 session.addEditor(editor);
|
144
|
334
|
164
|
335 sessionList.add(session);
|
144
|
336
|
83
|
337 gui.setComboSession(session.getSID(), session.getName());
|
73
|
338 }
|
75
|
339 smList.sendToSlave(receivedCommand);
|
1
|
340 break;
|
144
|
341
|
95
|
342 case REP.SMCMD_CH_MASTER:
|
122
|
343 //maxHost を設定。
|
95
|
344 if(setMaxHost(channel, receivedCommand.string)){
|
|
345 sendCommand = new REPCommand();
|
|
346 sendCommand.setCMD(REP.SMCMD_CH_MASTER);
|
|
347 sendCommand.setString(maxHost);
|
|
348 smList.sendExcept(channel, sendCommand);
|
|
349 }
|
|
350 break;
|
144
|
351
|
0
|
352 default:
|
164
|
353 {
|
144
|
354 //sid から Session を取得
|
158
|
355 Session session = getSession(receivedCommand.sid);
|
144
|
356 //マージの処理と次のエディタへコマンドを送信する処理
|
|
357 session.translate(channel, receivedCommand);
|
164
|
358
|
178
|
359
|
167
|
360 Editor editor = session.getEditor(channel);
|
|
361 Editor prevEditor = session.getPrevEditor(editor);
|
|
362
|
179
|
363 //マージ中は前のエディタからのコマンドを受信しない
|
164
|
364 if(editor.isMerging()){
|
|
365 //Handlerを切り替える
|
167
|
366 setMergeState(prevEditor.getChannel(), session.getSID());
|
169
|
367 }else {
|
178
|
368 setNormalState(prevEditor.getChannel(), session.getSID());
|
164
|
369 }
|
|
370 }
|
144
|
371 break;
|
|
372 }
|
|
373 }
|
|
374
|
169
|
375 private void setNormalState(REPSocketChannel<REPCommand> channel, int sid) {
|
|
376 SelectionKey key = channel.keyFor(selector);
|
|
377 key.attach(new REPHandlerImpl(sid, this));
|
|
378 }
|
|
379
|
167
|
380 private void setMergeState(REPSocketChannel<REPCommand> channel, int sid) {
|
|
381 SelectionKey key = channel.keyFor(selector);
|
|
382 key.attach(new REPHandlerInMerge(sid, this));
|
164
|
383 }
|
|
384
|
160
|
385 private Editor getEditor(String hostport) {
|
178
|
386 for(Editor editor : editorList){
|
|
387 if(editor.getHost() == hostport){
|
|
388 return editor;
|
|
389 }
|
|
390 }
|
|
391 return null;
|
|
392 }
|
|
393
|
|
394 public Editor getEditor(REPSocketChannel channel){
|
|
395 for(Editor editor : editorList){
|
|
396 if(editor.getChannel() == channel){
|
|
397 return editor;
|
|
398 }
|
|
399 }
|
160
|
400 return null;
|
|
401 }
|
|
402
|
144
|
403 private Session getSession(int sid) {
|
|
404 for(Session session : sessionList){
|
|
405 if(session.getSID() == sid) return session;
|
|
406 }
|
|
407 return null;
|
0
|
408 }
|
83
|
409
|
139
|
410 private boolean setMaxHost(REPSocketChannel channel, String maxHost2) {
|
179
|
411 if(maxHost.compareTo(maxHost2) > 0){
|
|
412 return false;
|
|
413 }else{
|
|
414 maxHost = maxHost2;
|
|
415 return true;
|
|
416 }
|
139
|
417 }
|
|
418
|
76
|
419 private void setMyHostName(String localHostName) {
|
95
|
420 myHost = localHostName + temp_port;
|
81
|
421 if(maxHost == null) {
|
|
422 maxHost = myHost;
|
|
423 }
|
164
|
424 setHostToEditor(myHost);
|
|
425 }
|
|
426
|
|
427 private void setHostToEditor(String myHost2) {
|
|
428 for(Editor editor : editorList){
|
|
429 editor.setHost(myHost2);
|
|
430 }
|
76
|
431 }
|
0
|
432
|
|
433 public static void main(String[] args) throws InterruptedException, IOException {
|
101
|
434 int port = DEFAULT_PORT;
|
|
435 int port_s = DEFAULT_PORT;
|
113
|
436 //System.setProperty("file.encoding", "UTF-8");
|
82
|
437 if(args.length > 0){
|
39
|
438 port = Integer.parseInt(args[0]);
|
95
|
439 port_s = Integer.parseInt(args[1]);
|
0
|
440 }
|
95
|
441 temp_port = port;
|
|
442 send_port = port_s;
|
0
|
443 SessionManager sm = new SessionManager(port);
|
2
|
444 sm.openSelector();
|
|
445 sm.openWindow();
|
155
|
446 sm.init(port);
|
|
447 sm.mainLoop();
|
0
|
448 }
|
|
449
|
2
|
450 private void openWindow() {
|
83
|
451 Thread th = new Thread( gui );
|
2
|
452 th.start();
|
83
|
453 gui.addConnectionListener(this);
|
|
454 gui.addREPActionListener(this);
|
2
|
455 }
|
|
456
|
178
|
457 public void connectSession(String host) {
|
101
|
458 int port = DEFAULT_PORT;
|
95
|
459 port = send_port;
|
1
|
460 InetSocketAddress addr = new InetSocketAddress(host, port);
|
|
461 try {
|
164
|
462 REPSocketChannel<REPCommand> sessionchannel = REPSocketChannel.<REPCommand>create();
|
1
|
463 sessionchannel.configureBlocking(true);
|
|
464 sessionchannel.connect(addr);
|
6
|
465 while(!sessionchannel.finishConnect()){
|
77
|
466 System.out.print("test afro");
|
6
|
467 }
|
|
468 System.out.println("");
|
2
|
469 registerChannel(selector, sessionchannel, SelectionKey.OP_READ);
|
45
|
470
|
77
|
471 sm_join(sessionchannel);
|
45
|
472
|
1
|
473 }catch (IOException e) {
|
|
474 e.printStackTrace();
|
|
475 }
|
|
476 }
|
77
|
477
|
164
|
478 private void sm_join(REPSocketChannel<REPCommand> channel){
|
79
|
479
|
122
|
480 //SM_JOINコマンドを生成。
|
77
|
481 REPCommand command = new REPCommand();
|
|
482 command.setCMD(REP.SMCMD_SM_JOIN);
|
79
|
483
|
122
|
484 //hostnameをセット。
|
82
|
485 setMyHostName(getLocalHostName(channel));
|
|
486
|
122
|
487 //XMLを生成。送信コマンドにセット。
|
164
|
488 SessionXMLEncoder encoder = new SessionXMLEncoder(sessionList);
|
77
|
489 String string = encoder.sessionListToXML();
|
|
490 command.setString(string);
|
|
491
|
122
|
492 //SM_JOINコマンドを送信。
|
77
|
493 REPPacketSend send = new REPPacketSend(channel);
|
|
494 send.send(command);
|
|
495
|
122
|
496 //SessionManagerのListに追加。
|
77
|
497 smList.add(channel);
|
|
498 }
|
2
|
499
|
139
|
500 private String getLocalHostName(REPSocketChannel channel) {
|
74
|
501 String host = null;
|
|
502 host = channel.socket().getLocalAddress().getHostName();
|
|
503 return host;
|
|
504 }
|
|
505
|
2
|
506 public void connectionOccured(ConnectionEvent event) {
|
178
|
507 try {
|
|
508 waitingQueue.put(event);
|
|
509 } catch (InterruptedException e) {
|
|
510 }
|
|
511 selector.wakeup();
|
2
|
512 }
|
8
|
513
|
|
514 public void ActionOccured(REPActionEvent event) {
|
104
|
515
|
163
|
516 REPSocketChannel<REPCommand> channel = event.getEditorChannel();
|
107
|
517 int sid = event.getSID();
|
164
|
518 Session session = getSession(sid);
|
158
|
519 if(session.hasOwner()){
|
148
|
520 Editor editor = new Editor(channel);
|
|
521 session.addEditor(new Editor(channel));
|
107
|
522 REPCommand sendCommand = new REPCommand();
|
|
523 sendCommand.setCMD(REP.SMCMD_JOIN_ACK);
|
148
|
524 sendCommand.setEID(editor.getEID());
|
107
|
525 sendCommand.setSID(sid);
|
|
526 REPPacketSend sender = new REPPacketSend(channel);
|
|
527 sender.send(sendCommand);
|
|
528 }else {
|
164
|
529 REPSocketChannel<REPCommand> editorChannel = event.getEditorChannel();
|
107
|
530 sid = event.getSID();
|
|
531 Editor editor = new Editor(editorChannel);
|
|
532 editor.setHost(myHost);
|
164
|
533 session = getSession(sid);
|
107
|
534 session.addEditor(editor);
|
|
535
|
158
|
536 Editor owner = session.getOwner();
|
107
|
537
|
|
538 REPCommand command = new REPCommand();
|
|
539 command.setCMD(REP.SMCMD_SELECT);
|
|
540 command.setSID(sid);
|
178
|
541 command.setString(editor.getHost());
|
107
|
542 owner.send(command);
|
|
543 }
|
72
|
544
|
|
545
|
8
|
546 }
|
122
|
547
|
144
|
548 public void addWaitingCommand(PacketSet set) {
|
155
|
549 packetSetList.add(set);
|
144
|
550 }
|
148
|
551
|
0
|
552 }
|