Mercurial > hg > RemoteEditor > REPSessionManager
diff test/editortest/REPEditor.java @ 420:5c95a9020e31
Modify ServerMainLoop
author | one |
---|---|
date | Fri, 13 Feb 2009 19:13:50 +0900 |
parents | 7ff127c8ad64 |
children | 49b689b17d06 |
line wrap: on
line diff
--- a/test/editortest/REPEditor.java Tue Jan 20 18:39:02 2009 +0900 +++ b/test/editortest/REPEditor.java Fri Feb 13 19:13:50 2009 +0900 @@ -31,6 +31,7 @@ private boolean master; private boolean syncEnable = true; private LogTarget logTarget; + private int tempseq = -1; public REPEditor(REPText repText, boolean master){ this.repText = repText; @@ -136,6 +137,17 @@ private void handle(REPCommand command) { Logger.print(logTarget, command); + + //check seq + if(eid == 1){ + if(command.eid == 3){ + if(tempseq > command.seq){ + System.err.println(command); + } + tempseq = command.seq; + } + } + // if(inputLock) Logger.print(logTarget, command); if(command == null) return; switch(command.cmd){