directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r208857 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/LdapMessageGrammar.java
Date Sat, 02 Jul 2005 18:04:53 GMT
Author: elecharny
Date: Sat Jul  2 11:04:53 2005
New Revision: 208857

URL: http://svn.apache.org/viewcvs?rev=208857&view=rev
Log:
Added the SearchResultReference 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=208857&r1=208856&r2=208857&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
Sat Jul  2 11:04:53 2005
@@ -273,6 +273,16 @@
                 LdapStatesEnum.PROTOCOL_OP_TAG, LdapStatesEnum.COMPARE_RESPONSE_GRAMMAR_SWITCH,
                 null );
 
+        //--------------------------------------------------------------------------------------------
+        // SearchResultReference Message.
+        //--------------------------------------------------------------------------------------------
+        // LdapMessage ::= ... SearchResultReference ...
+        // SearchResultReference ::= [APPLICATION 19] SEQUENCE OF LDAPURL (Tag)
+        // We have to switch to the SearchResultReference grammar
+        super.transitions[LdapStatesEnum.PROTOCOL_OP_TAG][0x73] = new GrammarTransition(
+                LdapStatesEnum.PROTOCOL_OP_TAG, LdapStatesEnum.SEARCH_RESULT_REFERENCE_GRAMMAR_SWITCH,
+                null );
+
     }
 
     //~ Methods ------------------------------------------------------------------------------------



Mime
View raw message