Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: f849caf4d50cc2fa4052de68db0acaf4bfacfa05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/***************************************************************************
 * Copyright (c) 2004 - 2008 Eike Stepper, Germany.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *    Eike Stepper - initial API and implementation
 **************************************************************************/
package org.eclipse.emf.cdo.common;

/**
 * @author Eike Stepper
 */
public interface CDOProtocolConstants
{
  public static final String PROTOCOL_NAME = "cdo";

  public static final short SIGNAL_OPEN_SESSION = 1;

  public static final short SIGNAL_LOAD_LIBRARIES = 2;

  public static final short SIGNAL_VIEWS_CHANGED = 3;

  public static final short SIGNAL_RESOURCE_ID = 4;

  public static final short SIGNAL_RESOURCE_PATH = 5;

  public static final short SIGNAL_LOAD_PACKAGE = 6;

  public static final short SIGNAL_LOAD_REVISION = 7;

  public static final short SIGNAL_LOAD_REVISION_BY_TIME = 8;

  public static final short SIGNAL_LOAD_REVISION_BY_VERSION = 9;

  public static final short SIGNAL_LOAD_CHUNK = 10;

  public static final short SIGNAL_VERIFY_REVISION = 11;

  public static final short SIGNAL_QUERY_OBJECT_TYPES = 12;

  public static final short SIGNAL_COMMIT_TRANSACTION = 13;

  public static final short SIGNAL_INVALIDATION = 14;

  public static final int ERROR_REPOSITORY_NOT_FOUND = -1;

  public static final int ERROR_NO_SESSION = -2;

  public static final byte VIEW_TRANSACTION = 1;

  public static final byte VIEW_AUDIT = 2;

  public static final byte VIEW_READONLY = 3;

  public static final byte VIEW_CLOSED = 4;
}

Back to the top