directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r208995 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/LdapMessage.java
Date Sun, 03 Jul 2005 22:32:01 GMT
Author: elecharny
Date: Sun Jul  3 15:31:59 2005
New Revision: 208995

URL: http://svn.apache.org/viewcvs?rev=208995&view=rev
Log:
Added an accessor for the ExtendedResponse pojo

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=208995&r1=208994&r2=208995&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
Sun Jul  3 15:31:59 2005
@@ -229,6 +229,17 @@
     }
 
     /**
+     * Get a ExtendedResponse ldapObject, assuming that the caller knows that
+     * it is the LdapMessage exact type.
+     *
+     * @return Returns the ExtendedResponse ldapObject.
+     */
+    public ExtendedResponse getExtendedResponse()
+    {
+        return (ExtendedResponse)protocolOp;
+    }
+
+    /**
      * Set the ProtocolOP
      *
      * @param protocolOp The protocolOp to set.



Mime
View raw message