You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2005/08/03 00:24:31 UTC
svn commit: r227092 -
/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapStatesEnum.java
Author: elecharny
Date: Tue Aug 2 15:24:27 2005
New Revision: 227092
URL: http://svn.apache.org/viewcvs?rev=227092&view=rev
Log:
Added the states for the Control grammar
Modified:
directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapStatesEnum.java
Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapStatesEnum.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapStatesEnum.java?rev=227092&r1=227091&r2=227092&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapStatesEnum.java (original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapStatesEnum.java Tue Aug 2 15:24:27 2005
@@ -143,36 +143,45 @@
/** Control Value */
public static int CONTROLS_VALUE = 1;
+ /** Control Tag */
+ public static int CONTROLS_SEQUENCE_TAG = 2;
+
+ /** Control Value */
+ public static int CONTROLS_SEQUENCE_VALUE = 3;
+
// Control ----------------------------------------------------------------
/** Control Tag */
- public static int CONTROL_TAG = 2;
+ public static int CONTROL_TAG = 4;
/** Control Value */
- public static int CONTROL_VALUE = 3;
+ public static int CONTROL_VALUE = 5;
// Control controltype ----------------------------------------------------
/** Control type Tag */
- public static int CONTROL_TYPE_TAG = 4;
+ public static int CONTROL_TYPE_TAG = 6;
/** Control type Value */
- public static int CONTROL_TYPE_VALUE = 5;
+ public static int CONTROL_TYPE_VALUE = 7;
// Control criticality ----------------------------------------------------
/** Control criticality Tag */
- public static int CONTROL_CRITICALITY_TAG = 6;
+ public static int CONTROL_LOOP_OR_CRITICAL_OR_VALUE_TAG = 8;
/** Control criticality Value */
- public static int CONTROL_CRITICALITY_VALUE = 7;
+ public static int CONTROL_CRITICALITY_VALUE = 9;
// Control controlvalue ---------------------------------------------------
/** Control value Tag */
- public static int CONTROL_VALUE_TAG = 8;
+ public static int CONTROL_LOOP_OR_VALUE_TAG = 10;
/** Control value Value */
- public static int CONTROL_VALUE_VALUE = 9;
+ public static int CONTROL_VALUE_VALUE = 11;
+
+ /** Another Control, or the end */
+ public static int CONTROL_LOOP_OR_END_TAG = 12;
/** Control last state */
- public static int LAST_CONTROL_STATE = 10;
+ public static int LAST_CONTROL_STATE = 13;
//=========================================================================
// BindResponse
@@ -1152,14 +1161,17 @@
{
"CONTROLS_TAG",
"CONTROLS_VALUE",
+ "CONTROLS_SEQUENCE_TAG",
+ "CONTROLS_SEQUENCE_VALUE",
"CONTROL_TAG",
"CONTROL_VALUE",
"CONTROL_TYPE_TAG",
"CONTROL_TYPE_VALUE",
- "CONTROL_CRITICALITY_TAG",
- "CONTROL_CRITICALITY_VALUE",
- "CONTROL_VALUE_TAG",
- "CONTROL_VALUE_VALUE"
+ "CONTROL_LOOP_OR_CRITICAL_OR_VALUE_TAG",
+ "CONTROL_CRITICALITY_VALUE",
+ "CONTROL_LOOP_OR_VALUE_TAG",
+ "CONTROL_VALUE_VALUE",
+ "CONTROL_LOOP_OR_END_TAG"
};
/** A string representation of all the Bind Request states */