directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r239485 - /directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/LdapMessage.java
Date Tue, 23 Aug 2005 23:50:04 GMT
Author: elecharny
Date: Tue Aug 23 16:50:01 2005
New Revision: 239485

URL: http://svn.apache.org/viewcvs?rev=239485&view=rev
Log:
- Added a getControls method that returns all the controls
- mdofified the getMessageType to return something different from UNKNOWN !

Modified:
    directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/LdapMessage.java

Modified: directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/LdapMessage.java
URL: http://svn.apache.org/viewcvs/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/LdapMessage.java?rev=239485&r1=239484&r2=239485&view=diff
==============================================================================
--- directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/LdapMessage.java
(original)
+++ directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/LdapMessage.java
Tue Aug 23 16:50:01 2005
@@ -85,6 +85,16 @@
     }
 
     /**
+     * Get the Control Objects 
+     *
+     * @return The Control Objects
+     */
+    public ArrayList getControls()
+    {
+        return controls;
+    }
+
+    /**
      * Get the current Control Object 
      *
      * @return The current Control Object
@@ -140,7 +150,7 @@
      */
     public int getMessageType()
     {
-    	return LdapConstants.UNKNOWN;
+    	return ( (LdapMessage)protocolOp) .getMessageType();
     }
 
     /**



Mime
View raw message