View Javadoc

1   /*
2    * SymmetricDS is an open source database synchronization solution.
3    *   
4    * Copyright (C) Chris Henson <chenson42@users.sourceforge.net>,
5    *               Eric Long <erilong@users.sourceforge.net>,
6    *               Keith Naas <knaas@users.sourceforge.net>
7    *
8    * This library is free software; you can redistribute it and/or
9    * modify it under the terms of the GNU Lesser General Public
10   * License as published by the Free Software Foundation; either
11   * version 3 of the License, or (at your option) any later version.
12   *
13   * This library is distributed in the hope that it will be useful,
14   * but WITHOUT ANY WARRANTY; without even the implied warranty of
15   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16   * Lesser General Public License for more details.
17   *
18   * You should have received a copy of the GNU Lesser General Public
19   * License along with this library; if not, see
20   * <http://www.gnu.org/licenses/>.
21   */
22  
23  package org.jumpmind.symmetric.web;
24  
25  public class WebConstants {
26  
27      public static final int REGISTRATION_NOT_OPEN = 656;
28  
29      public static final int REGISTRATION_REQUIRED = 657;
30  
31      public static final String ACK_BATCH_NAME = "batch-";
32  
33      public static final String ACK_BATCH_OK = "ok";
34  
35      public static final String ACK_NODE_ID = "nodeId-";
36  
37      public static final String ACK_NETWORK_MILLIS = "network-";
38  
39      public static final String ACK_FILTER_MILLIS = "filter-";
40  
41      public static final String ACK_DATABASE_MILLIS = "database-";
42  
43      public static final String ACK_BYTE_COUNT = "byteCount-";
44  
45      public static final String ACK_SQL_STATE = "sqlState-";
46  
47      public static final String ACK_SQL_CODE = "sqlCode-";
48  
49      public static final String ACK_SQL_MESSAGE = "sqlMessage-";
50  
51      public static final String NODE_ID = "nodeId";
52  
53      public static final String NODE_GROUP_ID = "nodeGroupId";
54  
55      public static final String EXTERNAL_ID = "externalId";
56  
57      public static final String SYMMETRIC_VERSION = "symmetricVersion";
58  
59      public static final String SYNC_URL = "syncURL";
60  
61      public static final String SCHEMA_VERSION = "schemaVersion";
62  
63      public static final String DATABASE_TYPE = "databaseType";
64  
65      public static final String DATABASE_VERSION = "databaseVersion";
66  
67      public static final String SECURITY_TOKEN = "securityToken";
68  
69  }