Mercurial > hg > RemoteEditor > REPSessionManager
diff rep/xml/SessionXMLDecoder.java @ 359:fa041bae35f1
all code written for distributed session except gather.
author | kono |
---|---|
date | Sun, 19 Oct 2008 19:24:38 +0900 |
parents | 034acadc0cdc |
children | 4b87f89b3afd |
line wrap: on
line diff
--- a/rep/xml/SessionXMLDecoder.java Sun Oct 19 16:54:37 2008 +0900 +++ b/rep/xml/SessionXMLDecoder.java Sun Oct 19 19:24:38 2008 +0900 @@ -87,7 +87,7 @@ editor.setHost(host);/* editor.setPort(port)*/; editor.setName(file); editor.setEID(Integer.parseInt(eid)); session = new Session(sid, editor); session.addEditor(editor); - sessionlist.addSession(session); + sessionlist.put(sid,session); }else { Editor editor = new Editor(null, false, 0);