directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1242810 - /directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/shared/ldap/codec/api/LdapDecoder.java
Date Fri, 10 Feb 2012 15:10:26 GMT
Author: elecharny
Date: Fri Feb 10 15:10:26 2012
New Revision: 1242810

URL: http://svn.apache.org/viewvc?rev=1242810&view=rev
Log:
Added some constants to be used in the LdapSession for the decoding

Modified:
    directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/shared/ldap/codec/api/LdapDecoder.java

Modified: directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/shared/ldap/codec/api/LdapDecoder.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/shared/ldap/codec/api/LdapDecoder.java?rev=1242810&r1=1242809&r2=1242810&view=diff
==============================================================================
--- directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/shared/ldap/codec/api/LdapDecoder.java
(original)
+++ directory/shared/trunk/ldap/codec/core/src/main/java/org/apache/directory/shared/ldap/codec/api/LdapDecoder.java
Fri Feb 10 15:10:26 2012
@@ -48,6 +48,12 @@ public class LdapDecoder
     /** The ASN 1 decoder instance */
     private Asn1Decoder asn1Decoder;
 
+    /** The name of the LdapSession's attribute for the LDAP container used during the decoding
*/
+    public static final String MESSAGE_CONTAINER_ATTR = "LDAP-container";
+
+    /** The maximum PDU size, stored into the LDAPSession's attribute */
+    public static final String MAX_PDU_SIZE_ATTR = "LDAP-maxPduSize";
+
 
     /**
      * Creates an instance of a Ldap Decoder implementation.
@@ -108,7 +114,7 @@ public class LdapDecoder
     }
 
     /**
-     * Decode an incoming buffer into LDAP messages. The result can be 0, 1 or many 
+     * Decode an incoming buffer into LDAP messages. The result can be 0, 1 or many
      * LDAP messages, which will be stored into the array the caller has created.
      * 
      * @param buffer The incoming byte buffer



Mime
View raw message