directory-commits mailing list archives

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

URL: http://svn.apache.org/viewcvs?rev=208927&view=rev
Log:
Added the ModifyDNRequest 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=208927&r1=208926&r2=208927&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 08:00:32 2005
@@ -264,6 +264,16 @@
                 LdapStatesEnum.PROTOCOL_OP_TAG, LdapStatesEnum.DEL_RESPONSE_GRAMMAR_SWITCH,
null );
 
         //--------------------------------------------------------------------------------------------
+        // ModifydDNRequest Message.
+        //--------------------------------------------------------------------------------------------
+        // LdapMessage ::= ... ModifyDNRequest ...
+        // ModifyDNRequest ::= [APPLICATION 12] SEQUENCE { ... (Tag)
+        // We have to switch to the ModifyDNRequest grammar
+        super.transitions[LdapStatesEnum.PROTOCOL_OP_TAG][0x6C] = new GrammarTransition(
+                LdapStatesEnum.PROTOCOL_OP_TAG, LdapStatesEnum.MODIFY_DN_REQUEST_GRAMMAR_SWITCH,
+                null );
+
+        //--------------------------------------------------------------------------------------------
         // ModifydResponse Message.
         //--------------------------------------------------------------------------------------------
         // LdapMessage ::= ... ModifyDNResponse ...



Mime
View raw message