directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r201663 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapMessage.java
Date Fri, 24 Jun 2005 18:41:20 GMT
Author: elecharny
Date: Fri Jun 24 11:41:20 2005
New Revision: 201663

URL: http://svn.apache.org/viewcvs?rev=201663&view=rev
Log:
Fixed the import of EncoderException

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

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapMessage.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapMessage.java?rev=201663&r1=201662&r2=201663&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapMessage.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapMessage.java
Fri Jun 24 11:41:20 2005
@@ -20,7 +20,7 @@
 
 import org.apache.asn1.Asn1Object;
 import org.apache.asn1.ber.tlv.Length;
-import org.apache.asn1.codec.EncoderException;
+import org.apache.asn1.EncoderException;
 
 /**
  * The main ldapObject : every Ldap Message are encapsulated in it. It has a
@@ -138,6 +138,17 @@
     public SearchRequest getSearchRequest()
     {
         return (SearchRequest)protocolOp;
+    }
+
+    /**
+     * Get a SearchResultEntry ldapObject, assuming that the caller knows that
+     * it is the LdapMessage exact type.
+     *
+     * @return Returns the SearchRequestEntry ldapObject.
+     */
+    public SearchResultEntry getSearchResultEntry()
+    {
+        return (SearchResultEntry)protocolOp;
     }
 
     /**



Mime
View raw message