# HG changeset patch # User pin # Date 1198288959 -32400 # Node ID 2f79cdc45a2ef0ac7ed411548b2cbe10b5625d7c # Parent cc67a5a8153533149356de5350f97fca2e6fed7a *** empty log message *** diff -r cc67a5a81535 -r 2f79cdc45a2e rep/SessionManager.java --- a/rep/SessionManager.java Sat Dec 22 10:31:20 2007 +0900 +++ b/rep/SessionManager.java Sat Dec 22 11:02:39 2007 +0900 @@ -304,16 +304,26 @@ case REP.SMCMD_UPDATE: - //SessionのownerのEditor - editor = new Editor(channel); - editor.setName(receivedCommand.string); + SessionXMLDecoder decoder3 = new SessionXMLDecoder(); + SessionList receivedSessionList3 = decoder3.decode(receivedCommand.string); + + //SessionListへ追加し変換テーブルを生成する。 + sessionlist.update(channel, receivedSessionList3); + + smList.sendExcept(channel, receivedCommand); - session = new Session(editor); - session.addEditor(editor); + //SessionのownerのEditor + //editor = new Editor(channel); + //editor.setName(receivedCommand.string); + + - sessionlist.addSession(session); + //session = new Session(editor); + //session.addEditor(editor); - gui.setComboSession(session.getSID(), session.getName()); + //sessionlist.addSession(session); + + //gui.setComboSession(session.getSID(), session.getName()); //if(isMaster){ // receivedCommand.setCMD(REP.SMCMD_UPDATE_ACK);