directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 9603 - in incubator/directory/ldap/trunk: clients common/src/java/org/apache/ldap/common/message
Date Fri, 19 Mar 2004 04:16:44 GMT
Author: akarasulu
Date: Thu Mar 18 20:16:43 2004
New Revision: 9603

Added:
   incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message/ManyReplyRequest.java
Modified:
   incubator/directory/ldap/trunk/clients/project.xml
Log:
added this right on top of SearchRequest to do the right thing by 00

Modified: incubator/directory/ldap/trunk/clients/project.xml
==============================================================================
--- incubator/directory/ldap/trunk/clients/project.xml	(original)
+++ incubator/directory/ldap/trunk/clients/project.xml	Thu Mar 18 20:16:43 2004
@@ -3,7 +3,7 @@
   xsi:noNamespaceSchemaLocation="maven-project.xsd">
   <pomVersion>3</pomVersion>
   <artifactId>ldap-clients</artifactId>
-  <groupId>directory</groupId>
+  <groupId>incubator-directory</groupId>
   <name>ldap-clients</name>
   <currentVersion>SNAPSHOT</currentVersion>
 

Added: incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message/ManyReplyRequest.java
==============================================================================
--- (empty file)
+++ incubator/directory/ldap/trunk/common/src/java/org/apache/ldap/common/message/ManyReplyRequest.java
Thu Mar 18 20:16:43 2004
@@ -0,0 +1,37 @@
+/*
+ *   Copyright 2004 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+package org.apache.ldap.common.message ;
+
+
+/**
+ * A request that can generate zero, one, or more heterogenous responses for a 
+ * single request.
+ *
+ * @author <a href="mailto:directory-dev@incubator.apache.org">
+ * Apache Directory Project</a>
+ * @version $Rev$
+ */
+public interface ManyReplyRequest extends Request
+{
+    /**
+     * Gets the various types of messages that can be generated by this kind of
+     * request.
+     * 
+     * @return the messages types generated in response to this Request
+     */
+    MessageTypeEnum[] getResponseTypes() ;
+}

Mime
View raw message