directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r208913 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapMessageGrammar.java
Date Sun, 03 Jul 2005 12:33:00 GMT
Author: elecharny
Date: Sun Jul  3 05:32:59 2005
New Revision: 208913

URL: http://svn.apache.org/viewcvs?rev=208913&view=rev
Log:
Added the AddRequest transition

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapMessageGrammar.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapMessageGrammar.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapMessageGrammar.java?rev=208913&r1=208912&r2=208913&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapMessageGrammar.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapMessageGrammar.java
Sun Jul  3 05:32:59 2005
@@ -236,6 +236,16 @@
                 null );
 
         //--------------------------------------------------------------------------------------------
+        // AddRequest Message.
+        //--------------------------------------------------------------------------------------------
+        // LdapMessage ::= ... AddRequest ...
+        // AddRequest ::= [APPLICATION 8] SEQUENCE { ... (Tag)
+        // We have to switch to the AddRequest grammar
+        super.transitions[LdapStatesEnum.PROTOCOL_OP_TAG][0x68] = new GrammarTransition(
+                LdapStatesEnum.PROTOCOL_OP_TAG, LdapStatesEnum.ADD_REQUEST_GRAMMAR_SWITCH,
+                null );
+
+        //--------------------------------------------------------------------------------------------
         // AddResponse Message.
         //--------------------------------------------------------------------------------------------
         // LdapMessage ::= ... AddResponse ...



Mime
View raw message