Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/protocol/CDOProtocolConstants.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/protocol/CDOProtocolConstants.java674
1 files changed, 337 insertions, 337 deletions
diff --git a/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/protocol/CDOProtocolConstants.java b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/protocol/CDOProtocolConstants.java
index d23efa66c5..5d2b64b780 100644
--- a/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/protocol/CDOProtocolConstants.java
+++ b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/protocol/CDOProtocolConstants.java
@@ -1,337 +1,337 @@
-/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
- * 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
- * Simon McDuff - bug 230832
- * Simon McDuff - bug 233490
- * Simon McDuff - bug 213402
- */
-package org.eclipse.emf.cdo.common.protocol;
-
-/**
- * Symbolic protocol constants commonly used in CDO.
- *
- * @author Eike Stepper
- * @since 2.0
- * @noextend This interface is not intended to be extended by clients.
- * @noimplement This interface is not intended to be implemented by clients.
- */
-public interface CDOProtocolConstants
-{
- public static final String PROTOCOL_NAME = "cdo"; //$NON-NLS-1$
-
- // //////////////////////////////////////////////////////////////////////
- // Signal IDs
-
- public static final short SIGNAL_OPEN_SESSION = 1;
-
- public static final short SIGNAL_AUTHENTICATION = 2;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_OPEN_VIEW = 3;
-
- /**
- * @since 4.0
- */
- public static final short SIGNAL_SWITCH_TARGET = 4;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_CLOSE_VIEW = 5;
-
- public static final short SIGNAL_LOAD_PACKAGES = 6;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_LOAD_REVISIONS = 7;
-
- public static final short SIGNAL_LOAD_REVISION_BY_VERSION = 8;
-
- public static final short SIGNAL_LOAD_CHUNK = 9;
-
- public static final short SIGNAL_COMMIT_NOTIFICATION = 10;
-
- public static final short SIGNAL_COMMIT_TRANSACTION = 11;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_COMMIT_DELEGATION = 12;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_XA_COMMIT_TRANSACTION_PHASE1 = 13;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_XA_COMMIT_TRANSACTION_PHASE2 = 14;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_XA_COMMIT_TRANSACTION_PHASE3 = 15;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_XA_COMMIT_TRANSACTION_CANCEL = 16;
-
- public static final short SIGNAL_QUERY = 17;
-
- public static final short SIGNAL_QUERY_CANCEL = 18;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_REFRESH_SESSION = 19;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_DISABLE_PASSIVE_UPDATE = 20;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_SET_PASSIVE_UPDATE_MODE = 21;
-
- public static final short SIGNAL_CHANGE_SUBSCRIPTION = 22;
-
- public static final short SIGNAL_REPOSITORY_TIME = 23;
-
- public static final short SIGNAL_LOCK_OBJECTS = 24;
-
- public static final short SIGNAL_UNLOCK_OBJECTS = 25;
-
- public static final short SIGNAL_OBJECT_LOCKED = 26;
-
- /**
- * @since 4.0
- */
- public static final short SIGNAL_LOCK_AREA = 27;
-
- public static final short SIGNAL_GET_REMOTE_SESSIONS = 28;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_REMOTE_MESSAGE = 29;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_REMOTE_MESSAGE_NOTIFICATION = 30;
-
- public static final short SIGNAL_UNSUBSCRIBE_REMOTE_SESSIONS = 31;
-
- public static final short SIGNAL_REMOTE_SESSION_NOTIFICATION = 32;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_CREATE_BRANCH = 33;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_LOAD_BRANCH = 34;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_LOAD_SUB_BRANCHES = 35;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_LOAD_BRANCHES = 36;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_REPOSITORY_TYPE_NOTIFICATION = 37;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_REPOSITORY_STATE_NOTIFICATION = 38;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_BRANCH_NOTIFICATION = 39;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_LOAD_COMMIT_INFOS = 40;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_LOAD_COMMIT_DATA = 41;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_REPLICATE_REPOSITORY = 42;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_REPLICATE_REPOSITORY_RAW = 43;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_LOAD_CHANGE_SETS = 44;
-
- /**
- * @since 3.0
- */
- public static final short SIGNAL_LOAD_MERGE_DATA = 45;
-
- /**
- * @since 4.0
- */
- public static final short SIGNAL_QUERY_LOBS = 46;
-
- /**
- * @since 4.0
- */
- public static final short SIGNAL_LOAD_LOB = 47;
-
- /**
- * @since 4.0
- */
- public static final short SIGNAL_HANDLE_REVISIONS = 48;
-
- /**
- * @since 4.1
- */
- public static final short SIGNAL_LOCK_DELEGATION = 49;
-
- /**
- * @since 4.1
- */
- public static final short SIGNAL_UNLOCK_DELEGATION = 50;
-
- /**
- * @since 4.1
- */
- public static final short SIGNAL_LOCK_NOTIFICATION = 51;
-
- /**
- * @since 4.1
- */
- public static final short SIGNAL_LOCK_STATE = 52;
-
- /**
- * @since 4.1
- */
- public static final short SIGNAL_ENABLE_LOCK_NOTIFICATION = 53;
-
- /**
- * @since 4.1
- */
- public static final short SIGNAL_SET_LOCK_NOTIFICATION_MODE = 54;
-
- // //////////////////////////////////////////////////////////////////////
- // Session Refresh
-
- /**
- * @since 3.0
- */
- public static final byte REFRESH_FINISHED = 0;
-
- /**
- * @since 3.0
- */
- public static final byte REFRESH_PACKAGE_UNIT = 1;
-
- /**
- * @since 3.0
- */
- public static final byte REFRESH_CHANGED_OBJECT = 2;
-
- /**
- * @since 3.0
- */
- public static final byte REFRESH_DETACHED_OBJECT = 3;
-
- // //////////////////////////////////////////////////////////////////////
- // Query Support
-
- public static final String QUERY_LANGUAGE_RESOURCES = "resources"; //$NON-NLS-1$
-
- public static final String QUERY_LANGUAGE_RESOURCES_FOLDER_ID = "folder"; //$NON-NLS-1$
-
- public static final String QUERY_LANGUAGE_RESOURCES_EXACT_MATCH = "exactMatch"; //$NON-NLS-1$
-
- /**
- * @since 3.0
- */
- public static final String QUERY_LANGUAGE_XREFS = "xrefs"; //$NON-NLS-1$
-
- /**
- * @since 3.0
- */
- public static final String QUERY_LANGUAGE_XREFS_SOURCE_REFERENCES = "sourceReferences"; //$NON-NLS-1$
-
- // //////////////////////////////////////////////////////////////////////
- // Locking Objects
-
- public static final int RELEASE_ALL_LOCKS = -1;
-
- // //////////////////////////////////////////////////////////////////////
- // Remote Sessions
-
- public static final int NO_MORE_REMOTE_SESSIONS = -1;
-
- public static final byte REMOTE_SESSION_OPENED = 1;
-
- public static final byte REMOTE_SESSION_CLOSED = 2;
-
- public static final byte REMOTE_SESSION_SUBSCRIBED = 3;
-
- public static final byte REMOTE_SESSION_UNSUBSCRIBED = 4;
-
- /**
- * @since 3.0
- */
- public static final byte REMOTE_SESSION_CUSTOM_DATA = 5;
-
- // //////////////////////////////////////////////////////////////////////
- // Syncing
-
- /**
- * @since 3.0
- */
- public static final byte REPLICATE_FINISHED = 0;
-
- /**
- * @since 3.0
- */
- public static final byte REPLICATE_BRANCH = 1;
-
- /**
- * @since 3.0
- */
- public static final byte REPLICATE_COMMIT = 2;
-
- /**
- * @since 4.1
- */
- public static final byte REPLICATE_LOCKAREA = 3;
-}
+/*
+ * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
+ * 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
+ * Simon McDuff - bug 230832
+ * Simon McDuff - bug 233490
+ * Simon McDuff - bug 213402
+ */
+package org.eclipse.emf.cdo.common.protocol;
+
+/**
+ * Symbolic protocol constants commonly used in CDO.
+ *
+ * @author Eike Stepper
+ * @since 2.0
+ * @noextend This interface is not intended to be extended by clients.
+ * @noimplement This interface is not intended to be implemented by clients.
+ */
+public interface CDOProtocolConstants
+{
+ public static final String PROTOCOL_NAME = "cdo"; //$NON-NLS-1$
+
+ // //////////////////////////////////////////////////////////////////////
+ // Signal IDs
+
+ public static final short SIGNAL_OPEN_SESSION = 1;
+
+ public static final short SIGNAL_AUTHENTICATION = 2;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_OPEN_VIEW = 3;
+
+ /**
+ * @since 4.0
+ */
+ public static final short SIGNAL_SWITCH_TARGET = 4;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_CLOSE_VIEW = 5;
+
+ public static final short SIGNAL_LOAD_PACKAGES = 6;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_LOAD_REVISIONS = 7;
+
+ public static final short SIGNAL_LOAD_REVISION_BY_VERSION = 8;
+
+ public static final short SIGNAL_LOAD_CHUNK = 9;
+
+ public static final short SIGNAL_COMMIT_NOTIFICATION = 10;
+
+ public static final short SIGNAL_COMMIT_TRANSACTION = 11;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_COMMIT_DELEGATION = 12;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_XA_COMMIT_TRANSACTION_PHASE1 = 13;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_XA_COMMIT_TRANSACTION_PHASE2 = 14;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_XA_COMMIT_TRANSACTION_PHASE3 = 15;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_XA_COMMIT_TRANSACTION_CANCEL = 16;
+
+ public static final short SIGNAL_QUERY = 17;
+
+ public static final short SIGNAL_QUERY_CANCEL = 18;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_REFRESH_SESSION = 19;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_DISABLE_PASSIVE_UPDATE = 20;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_SET_PASSIVE_UPDATE_MODE = 21;
+
+ public static final short SIGNAL_CHANGE_SUBSCRIPTION = 22;
+
+ public static final short SIGNAL_REPOSITORY_TIME = 23;
+
+ public static final short SIGNAL_LOCK_OBJECTS = 24;
+
+ public static final short SIGNAL_UNLOCK_OBJECTS = 25;
+
+ public static final short SIGNAL_OBJECT_LOCKED = 26;
+
+ /**
+ * @since 4.0
+ */
+ public static final short SIGNAL_LOCK_AREA = 27;
+
+ public static final short SIGNAL_GET_REMOTE_SESSIONS = 28;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_REMOTE_MESSAGE = 29;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_REMOTE_MESSAGE_NOTIFICATION = 30;
+
+ public static final short SIGNAL_UNSUBSCRIBE_REMOTE_SESSIONS = 31;
+
+ public static final short SIGNAL_REMOTE_SESSION_NOTIFICATION = 32;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_CREATE_BRANCH = 33;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_LOAD_BRANCH = 34;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_LOAD_SUB_BRANCHES = 35;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_LOAD_BRANCHES = 36;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_REPOSITORY_TYPE_NOTIFICATION = 37;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_REPOSITORY_STATE_NOTIFICATION = 38;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_BRANCH_NOTIFICATION = 39;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_LOAD_COMMIT_INFOS = 40;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_LOAD_COMMIT_DATA = 41;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_REPLICATE_REPOSITORY = 42;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_REPLICATE_REPOSITORY_RAW = 43;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_LOAD_CHANGE_SETS = 44;
+
+ /**
+ * @since 3.0
+ */
+ public static final short SIGNAL_LOAD_MERGE_DATA = 45;
+
+ /**
+ * @since 4.0
+ */
+ public static final short SIGNAL_QUERY_LOBS = 46;
+
+ /**
+ * @since 4.0
+ */
+ public static final short SIGNAL_LOAD_LOB = 47;
+
+ /**
+ * @since 4.0
+ */
+ public static final short SIGNAL_HANDLE_REVISIONS = 48;
+
+ /**
+ * @since 4.1
+ */
+ public static final short SIGNAL_LOCK_DELEGATION = 49;
+
+ /**
+ * @since 4.1
+ */
+ public static final short SIGNAL_UNLOCK_DELEGATION = 50;
+
+ /**
+ * @since 4.1
+ */
+ public static final short SIGNAL_LOCK_NOTIFICATION = 51;
+
+ /**
+ * @since 4.1
+ */
+ public static final short SIGNAL_LOCK_STATE = 52;
+
+ /**
+ * @since 4.1
+ */
+ public static final short SIGNAL_ENABLE_LOCK_NOTIFICATION = 53;
+
+ /**
+ * @since 4.1
+ */
+ public static final short SIGNAL_SET_LOCK_NOTIFICATION_MODE = 54;
+
+ // //////////////////////////////////////////////////////////////////////
+ // Session Refresh
+
+ /**
+ * @since 3.0
+ */
+ public static final byte REFRESH_FINISHED = 0;
+
+ /**
+ * @since 3.0
+ */
+ public static final byte REFRESH_PACKAGE_UNIT = 1;
+
+ /**
+ * @since 3.0
+ */
+ public static final byte REFRESH_CHANGED_OBJECT = 2;
+
+ /**
+ * @since 3.0
+ */
+ public static final byte REFRESH_DETACHED_OBJECT = 3;
+
+ // //////////////////////////////////////////////////////////////////////
+ // Query Support
+
+ public static final String QUERY_LANGUAGE_RESOURCES = "resources"; //$NON-NLS-1$
+
+ public static final String QUERY_LANGUAGE_RESOURCES_FOLDER_ID = "folder"; //$NON-NLS-1$
+
+ public static final String QUERY_LANGUAGE_RESOURCES_EXACT_MATCH = "exactMatch"; //$NON-NLS-1$
+
+ /**
+ * @since 3.0
+ */
+ public static final String QUERY_LANGUAGE_XREFS = "xrefs"; //$NON-NLS-1$
+
+ /**
+ * @since 3.0
+ */
+ public static final String QUERY_LANGUAGE_XREFS_SOURCE_REFERENCES = "sourceReferences"; //$NON-NLS-1$
+
+ // //////////////////////////////////////////////////////////////////////
+ // Locking Objects
+
+ public static final int RELEASE_ALL_LOCKS = -1;
+
+ // //////////////////////////////////////////////////////////////////////
+ // Remote Sessions
+
+ public static final int NO_MORE_REMOTE_SESSIONS = -1;
+
+ public static final byte REMOTE_SESSION_OPENED = 1;
+
+ public static final byte REMOTE_SESSION_CLOSED = 2;
+
+ public static final byte REMOTE_SESSION_SUBSCRIBED = 3;
+
+ public static final byte REMOTE_SESSION_UNSUBSCRIBED = 4;
+
+ /**
+ * @since 3.0
+ */
+ public static final byte REMOTE_SESSION_CUSTOM_DATA = 5;
+
+ // //////////////////////////////////////////////////////////////////////
+ // Syncing
+
+ /**
+ * @since 3.0
+ */
+ public static final byte REPLICATE_FINISHED = 0;
+
+ /**
+ * @since 3.0
+ */
+ public static final byte REPLICATE_BRANCH = 1;
+
+ /**
+ * @since 3.0
+ */
+ public static final byte REPLICATE_COMMIT = 2;
+
+ /**
+ * @since 4.1
+ */
+ public static final byte REPLICATE_LOCKAREA = 3;
+}

Back to the top