0
|
1 package remoteeditor.network;
|
|
2
|
64
|
3 public class REP {
|
|
4 public static final int REPCMD_OPEN = 1;
|
|
5 public static final int REPCMD_OPEN_ACK = 2;
|
38
|
6 public static final int REPCMD_READ = 3;
|
|
7 public static final int REPCMD_READ_ACK = 4;
|
64
|
8 public static final int REPCMD_INSERT = 6;
|
|
9 public static final int REPCMD_INSERT_ACK = 7;
|
|
10 public static final int REPCMD_DELETE = 9;
|
|
11 public static final int REPCMD_DELETE_ACK = 10;
|
|
12 public static final int REPCMD_CLOSE = 11;
|
|
13 public static final int REPCMD_CLOSE_ACK = 12;
|
|
14 public static final int REPCMD_REPLACE = 13;
|
|
15 public static final int REPCMD_REPLACE_ACK = 14;
|
72
|
16 public static final int REPCMD_NOP = 15;
|
64
|
17 public static final int SMCMD_JOIN = 41;
|
|
18 public static final int SMCMD_JOIN_ACK = 42;
|
|
19 public static final int SMCMD_GET = 43;
|
|
20 public static final int SMCMD_GET_ACK = 44;
|
|
21 public static final int SMCMD_PUT = 45;
|
|
22 public static final int SMCMD_PUT_ACK = 46;
|
|
23 public static final int SMCMD_SELECT = 47;
|
|
24 public static final int SMCMD_SELECT_ACK = 48;
|
|
25 public static final int SMCMD_REGISTER = 49;
|
|
26 public static final int SMCMD_REGISTER_ACK = 50;
|
|
27 public static final int SMCMD_DEREGISTER = 51;
|
|
28 public static final int SMCMD_DEREGISTER_ACK= 52;
|
|
29 public static final int SMCMD_QUIT = 53;
|
|
30 public static final int SMCMD_QUIT_ACK = 54;
|
|
31 public static final int SMCMD_SESSION = 60;
|
|
32 public static final int SMCMD_SESSION_ACK = 61;
|
|
33 public static final int SMCMD_SM_JOIN = 62;
|
|
34 public static final int SMCMD_SM_JOIN_ACK = 63;
|
|
35 public static final int SMCMD_UPDATE = 65;
|
|
36 public static final int SMCMD_UPDATE_ACK = 66;
|
143
|
37 public static final int SMCMD_GET_UNDO = 71;
|
144
|
38 public static final int SMCMD_GET_UNDO_ACK = 72;
|
150
|
39
|
151
|
40 public static final int SMCMD_START_MERGE = 73;
|
|
41 public static final int SMCMD_START_MERGE_ACK = 74;
|
|
42
|
|
43 // public static final int REPCMD_INSERT_UNDO = 106;
|
|
44 // public static final int REPCMD_DELETE_UNDO = 109;
|
|
45 // public static final int REPCMD_REPLACE_UNDO = 113;
|
21
|
46
|
0
|
47 }
|