directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r185077 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/LdapMessageContainer.java
Date Mon, 06 Jun 2005 22:32:57 GMT
Author: elecharny
Date: Mon Jun  6 15:32:55 2005
New Revision: 185077

URL: http://svn.apache.org/viewcvs?rev=185077&view=rev
Log:
Initialized some grammars :
 - ModifyDNResponse,
 - SearchResultDone
 - SearchRequest
 - Filter

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

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/LdapMessageContainer.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/LdapMessageContainer.java?rev=185077&r1=185076&r2=185077&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/LdapMessageContainer.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/LdapMessageContainer.java
Mon Jun  6 15:32:55 2005
@@ -25,11 +25,15 @@
 import org.apache.asn1.ldap.codec.grammars.BindResponseGrammar;
 import org.apache.asn1.ldap.codec.grammars.CompareResponseGrammar;
 import org.apache.asn1.ldap.codec.grammars.DelResponseGrammar;
+import org.apache.asn1.ldap.codec.grammars.FilterGrammar;
 import org.apache.asn1.ldap.codec.grammars.LdapControlGrammar;
 import org.apache.asn1.ldap.codec.grammars.LdapMessageGrammar;
 import org.apache.asn1.ldap.codec.grammars.LdapResultGrammar;
 import org.apache.asn1.ldap.codec.grammars.LdapStatesEnum;
+import org.apache.asn1.ldap.codec.grammars.ModifyDNResponseGrammar;
 import org.apache.asn1.ldap.codec.grammars.ModifyResponseGrammar;
+import org.apache.asn1.ldap.codec.grammars.SearchRequestGrammar;
+import org.apache.asn1.ldap.codec.grammars.SearchResultDoneGrammar;
 import org.apache.asn1.ldap.codec.grammars.UnBindRequestGrammar;
 import org.apache.asn1.ldap.pojo.LdapMessagePOJO;
 
@@ -73,7 +77,11 @@
         grammars[LdapStatesEnum.ADD_RESPONSE_GRAMMAR] = AddResponseGrammar.getInstance();

         grammars[LdapStatesEnum.COMPARE_RESPONSE_GRAMMAR] = CompareResponseGrammar.getInstance();

         grammars[LdapStatesEnum.DEL_RESPONSE_GRAMMAR] = DelResponseGrammar.getInstance();

-        grammars[LdapStatesEnum.MODIFY_RESPONSE_GRAMMAR] = ModifyResponseGrammar.getInstance();

+        grammars[LdapStatesEnum.MODIFY_RESPONSE_GRAMMAR] = ModifyResponseGrammar.getInstance();
+        grammars[LdapStatesEnum.MODIFY_DN_RESPONSE_GRAMMAR] = ModifyDNResponseGrammar.getInstance();
+        grammars[LdapStatesEnum.SEARCH_RESULT_DONE_GRAMMAR] = SearchResultDoneGrammar.getInstance();
+        grammars[LdapStatesEnum.SEARCH_REQUEST_GRAMMAR] = SearchRequestGrammar.getInstance();
+        grammars[LdapStatesEnum.FILTER_GRAMMAR] = FilterGrammar.getInstance();
 
         grammarStack[currentGrammar] = grammars[LdapStatesEnum.LDAP_MESSAGE_GRAMMAR];
     }



Mime
View raw message