Mercurial > hg > RemoteEditor > Eclipse
changeset 72:a77ddf4fc5c9
add field REPCommand.throughMaster
add REP.REPCMD_NOP
author | kent |
---|---|
date | Thu, 08 Nov 2007 15:47:53 +0900 |
parents | eda73e0a0388 |
children | bb5db6a67c7b |
files | src/remoteeditor/command/REPCommand.java src/remoteeditor/network/REP.java |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/remoteeditor/command/REPCommand.java Thu Nov 08 15:14:36 2007 +0900 +++ b/src/remoteeditor/command/REPCommand.java Thu Nov 08 15:47:53 2007 +0900 @@ -11,7 +11,8 @@ public int len; public int lineno; public boolean stat; - + public boolean throughMaster; + public String string; private int textsiz; String host; @@ -25,6 +26,7 @@ this.textsiz = textsiz; this.lineno = lineno; this.string = string; + this.throughMaster = false; } public String toString(){ @@ -61,5 +63,9 @@ // TODO Auto-generated method stub this.port = port; } + + public void setThroughMaster(boolean f){ + this.throughMaster=f; + } }
--- a/src/remoteeditor/network/REP.java Thu Nov 08 15:14:36 2007 +0900 +++ b/src/remoteeditor/network/REP.java Thu Nov 08 15:47:53 2007 +0900 @@ -13,6 +13,7 @@ public static final int REPCMD_CLOSE_ACK = 12; public static final int REPCMD_REPLACE = 13; public static final int REPCMD_REPLACE_ACK = 14; + public static final int REPCMD_NOP = 15; public static final int SMCMD_JOIN = 41; public static final int SMCMD_JOIN_ACK = 42; public static final int SMCMD_GET = 43;