Mercurial > hg > RemoteEditor > REPSessionManager
changeset 73:4d887f38284b
*** empty log message ***
author | pin |
---|---|
date | Sat, 17 Nov 2007 06:38:33 +0900 |
parents | 3cdf2d6d99d9 |
children | 391d44c94799 |
files | rep/SessionManager.java |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rep/SessionManager.java Sat Nov 17 06:19:48 2007 +0900 +++ b/rep/SessionManager.java Sat Nov 17 06:38:33 2007 +0900 @@ -250,6 +250,17 @@ break; case REP.SMCMD_UPDATE_ACK: + if(repCmd.sid > sessionlist.getList().size()){ + editor = new Editor(channel); + editor.setName(repCmd.string); + + session = new Session(editor); + session.addEditor(editor); + + sessionlist.addSession(session); + + sessionmanagerGUI.setComboSession(session.getSID(), session.getName()); + } smList.sendToSlave(repCmd); break;