Mercurial > hg > RemoteEditor > REPSessionManager
changeset 68:55be16853449
*** empty log message ***
author | pin |
---|---|
date | Fri, 16 Nov 2007 17:25:32 +0900 |
parents | 13e4c3f2c6f9 |
children | 9dd7471b771a |
files | rep/SessionManager.java |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rep/SessionManager.java Fri Nov 16 17:10:54 2007 +0900 +++ b/rep/SessionManager.java Fri Nov 16 17:25:32 2007 +0900 @@ -187,6 +187,7 @@ int eid = session2.addEditor(editor2); editor2.setEID(eid); REPPacketSend send = new REPPacketSend(channel); + repCmd.setCMD(REP.SMCMD_SELECT_ACK); repCmd.setEID(eid); send.send(repCmd); }else { @@ -199,6 +200,12 @@ break; case REP.SMCMD_SELECT_ACK: + repCmd.setCMD(REP.SMCMD_JOIN_ACK); + repCmd.setEID(repCmd.eid); + Session session3 = sessionlist.getSession(repCmd.sid); + Editor editor3 = session3.getEditorList().get(0); + REPPacketSend send = new REPPacketSend(editor3.getChannel()); + send.send(repCmd); break; case REP.SMCMD_SESSION: