You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2005/08/24 01:50:04 UTC
svn commit: r239485 -
/directory/shared/ldap/branches/new-codec-integration/apache2-provider/src/java/main/org/apache/asn1new/ldap/pojo/LdapMessage.java
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();
}
/**