Mercurial > hg > RemoteEditor > REPSessionManager
changeset 261:d557252092e3
*** empty log message ***
author | pin |
---|---|
date | Tue, 09 Sep 2008 18:23:08 +0900 |
parents | 07bbaa4815a7 |
children | a187180e0106 |
files | rep/REP.java |
diffstat | 1 files changed, 36 insertions(+), 35 deletions(-) [+] |
line wrap: on
line diff
--- a/rep/REP.java Tue Sep 09 16:47:27 2008 +0900 +++ b/rep/REP.java Tue Sep 09 18:23:08 2008 +0900 @@ -1,55 +1,56 @@ package rep; public class REP { - public static final int REPCMD_OPEN = 1; - public static final int REPCMD_OPEN_ACK = 2; - public static final int REPCMD_READ = 3; - public static final int REPCMD_READ_ACK = 4; - public static final int REPCMD_INSERT = 6; - public static final int REPCMD_INSERT_ACK = 7; - public static final int REPCMD_DELETE = 9; - public static final int REPCMD_DELETE_ACK = 10; - public static final int REPCMD_CLOSE = 11; - 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; - public static final int SMCMD_GET_ACK = 44; - public static final int SMCMD_PUT = 45; - public static final int SMCMD_PUT_ACK = 46; - public static final int SMCMD_SELECT = 47; - public static final int SMCMD_SELECT_ACK = 48; - public static final int SMCMD_REGISTER = 49; - public static final int SMCMD_REGISTER_ACK = 50; - public static final int SMCMD_DEREGISTER = 51; - public static final int SMCMD_DEREGISTER_ACK= 52; - public static final int SMCMD_QUIT = 53; - public static final int SMCMD_QUIT_ACK = 54; - public static final int SMCMD_SESSION = 60; - public static final int SMCMD_SESSION_ACK = 61; + public static final int REPCMD_OPEN = 1; + public static final int REPCMD_OPEN_ACK = 2; + public static final int REPCMD_READ = 3; + public static final int REPCMD_READ_ACK = 4; + public static final int REPCMD_INSERT = 6; + public static final int REPCMD_INSERT_ACK = 7; + public static final int REPCMD_DELETE = 9; + public static final int REPCMD_DELETE_ACK = 10; + public static final int REPCMD_CLOSE = 11; + public static final int REPCMD_CLOSE_2 = 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; + public static final int SMCMD_GET_ACK = 44; + public static final int SMCMD_PUT = 45; + public static final int SMCMD_PUT_ACK = 46; + public static final int SMCMD_SELECT = 47; + public static final int SMCMD_SELECT_ACK = 48; + public static final int SMCMD_REGISTER = 49; + public static final int SMCMD_REGISTER_ACK = 50; + public static final int SMCMD_DEREGISTER = 51; + public static final int SMCMD_DEREGISTER_ACK= 52; + public static final int SMCMD_QUIT = 53; + public static final int SMCMD_QUIT_ACK = 54; + public static final int SMCMD_SESSION = 60; + public static final int SMCMD_SESSION_ACK = 61; public static final int SMCMD_SM_JOIN = 62; public static final int SMCMD_SM_JOIN_ACK = 63; public static final int SMCMD_UPDATE = 65; public static final int SMCMD_UPDATE_ACK = 66; public static final int SMCMD_GET_UNDO = 71; public static final int SMCMD_GET_UNDO_ACK = 72; - + public static final int SMCMD_UNDO_REPLACE = 73; public static final int SMCMD_START_MERGE = 75; public static final int SMCMD_START_MERGE_ACK = 76; public static final int SMCMD_END_MERGE = 77; public static final int SMCMD_QUIT_2 = 78; - - + + public static final int MERGE_EID = -2; public static final int SMCMD_CH_MASTER = 79; public static final int SMCMD_UPDATE_UP = 80; public static final int SMCMD_UPDATE_DOWN = 81; - - //public static final int SMCMD_START_MERGE = 73; - //public static final int SMCMD_START_MERGE_ACK = 74; + + public static final int SMCMD_SYNC = 82; + public static final int SMCMD_SYNC_ACK = 83; + }