comparison rep/SessionManager.java @ 286:30c993e89286

TestEditor
author kono
date Sun, 28 Sep 2008 15:41:42 +0900
parents c3969dd625b2
children 1ff8bfc0a99a
comparison
equal deleted inserted replaced
285:b468f24c3e09 286:30c993e89286
550 if(session.hasOwner()){ 550 if(session.hasOwner()){
551 REPCommand sendCommand = new REPCommand(); 551 REPCommand sendCommand = new REPCommand();
552 sendCommand.setCMD(REP.SMCMD_JOIN_ACK); 552 sendCommand.setCMD(REP.SMCMD_JOIN_ACK);
553 sendCommand.setEID(editor.getEID()); 553 sendCommand.setEID(editor.getEID());
554 sendCommand.setSID(sid); 554 sendCommand.setSID(sid);
555 sendCommand.string = "";
555 channel.write(sendCommand); 556 channel.write(sendCommand);
556 }else { 557 }else {
557 sid = event.getSID(); 558 sid = event.getSID();
558 editor = new Editor(channel); 559 editor = new Editor(channel);
559 editor.setHost(myHost); 560 editor.setHost(myHost);