comparison src/remoteeditor/command/REPCommand.java @ 72:a77ddf4fc5c9

add field REPCommand.throughMaster add REP.REPCMD_NOP
author kent
date Thu, 08 Nov 2007 15:47:53 +0900
parents 403272ec470c
children a3dbec69b1cb
comparison
equal deleted inserted replaced
71:eda73e0a0388 72:a77ddf4fc5c9
9 public int eid; 9 public int eid;
10 public int seq; 10 public int seq;
11 public int len; 11 public int len;
12 public int lineno; 12 public int lineno;
13 public boolean stat; 13 public boolean stat;
14 14 public boolean throughMaster;
15
15 public String string; 16 public String string;
16 private int textsiz; 17 private int textsiz;
17 String host; 18 String host;
18 String port; 19 String port;
19 20
23 this.eid = eid; 24 this.eid = eid;
24 this.seq = seq; 25 this.seq = seq;
25 this.textsiz = textsiz; 26 this.textsiz = textsiz;
26 this.lineno = lineno; 27 this.lineno = lineno;
27 this.string = string; 28 this.string = string;
29 this.throughMaster = false;
28 } 30 }
29 31
30 public String toString(){ 32 public String toString(){
31 String repCmdString = new String(cmd + "," + sid + "," + eid + "," + seq + "," + lineno + "," + textsiz + "," + string); 33 String repCmdString = new String(cmd + "," + sid + "," + eid + "," + seq + "," + lineno + "," + textsiz + "," + string);
32 return repCmdString; 34 return repCmdString;
59 61
60 public void setPort(String port) { 62 public void setPort(String port) {
61 // TODO Auto-generated method stub 63 // TODO Auto-generated method stub
62 this.port = port; 64 this.port = port;
63 } 65 }
66
67 public void setThroughMaster(boolean f){
68 this.throughMaster=f;
69 }
64 70
65 } 71 }