Mercurial > hg > RemoteEditor > REPSessionManager
changeset 98:cc67a5a81535
*** empty log message ***
author | pin |
---|---|
date | Sat, 22 Dec 2007 10:31:20 +0900 |
parents | f5d222e54e8c |
children | 2f79cdc45a2e |
files | rep/SessionManager.java |
diffstat | 1 files changed, 12 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/rep/SessionManager.java Sat Dec 22 10:19:37 2007 +0900 +++ b/rep/SessionManager.java Sat Dec 22 10:31:20 2007 +0900 @@ -170,13 +170,18 @@ REPCommand command = new REPCommand(); command.setSID(session.getSID()); command.setString(sessionEncoder.sessionListToXML()); - if(isMaster){ - command.setCMD(REP.SMCMD_UPDATE_ACK); - smList.sendToSlave(command); - }else{ - command.setCMD(REP.SMCMD_UPDATE); - smList.sendToMaster(command); - } + + command.setCMD(REP.SMCMD_UPDATE); + smList.sendExcept(channel, command); + + +// if(isMaster){ +// command.setCMD(REP.SMCMD_UPDATE_ACK); +// smList.sendToSlave(command); +// }else{ +// command.setCMD(REP.SMCMD_UPDATE); +// smList.sendToMaster(command); +// } break; // case REP.SMCMD_PUT_ACK: