directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r986660 - /directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/
Date Wed, 18 Aug 2010 13:20:34 GMT
Author: elecharny
Date: Wed Aug 18 13:20:34 2010
New Revision: 986660

URL: http://svn.apache.org/viewvc?rev=986660&view=rev
Log:
Added the missing Response constructor that don't take a message ID as a parameter

Modified:
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddResponseImpl.java
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/BindResponseImpl.java
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/CompareResponseImpl.java
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/DeleteResponseImpl.java
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ExtendedResponseImpl.java
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnResponseImpl.java
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyResponseImpl.java
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultDoneImpl.java
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultEntryImpl.java
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultReferenceImpl.java

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddResponseImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddResponseImpl.java?rev=986660&r1=986659&r2=986660&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddResponseImpl.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/AddResponseImpl.java
Wed Aug 18 13:20:34 2010
@@ -20,8 +20,6 @@
 package org.apache.directory.shared.ldap.message;
 
 
-
-
 /**
  * AddResponse implementation.
  * 
@@ -40,7 +38,16 @@ public class AddResponseImpl extends Abs
 
 
     /**
-     * Creates a Lockable AddResponse as a reply to an AddRequest.
+     * Creates an AddResponse as a reply to an AddRequest.
+     */
+    public AddResponseImpl()
+    {
+        super( -1, TYPE );
+    }
+
+
+    /**
+     * Creates an AddResponse as a reply to an AddRequest.
      * 
      * @param id the session unique message id
      */

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/BindResponseImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/BindResponseImpl.java?rev=986660&r1=986659&r2=986660&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/BindResponseImpl.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/BindResponseImpl.java
Wed Aug 18 13:20:34 2010
@@ -44,12 +44,19 @@ public class BindResponseImpl extends Ab
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
+    /**
+     * Creates a BindResponse as a reply to an BindRequest.
+     */
+    public BindResponseImpl()
+    {
+        super( -1, TYPE );
+    }
+
 
     /**
-     * Creates a Lockable AddResponse as a reply to an AddRequest.
+     * Creates a BindResponse as a reply to an BindRequest.
      * 
-     * @param id
-     *            the session unique message id
+     * @param id the session unique message id
      */
     public BindResponseImpl( final int id )
     {

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/CompareResponseImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/CompareResponseImpl.java?rev=986660&r1=986659&r2=986660&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/CompareResponseImpl.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/CompareResponseImpl.java
Wed Aug 18 13:20:34 2010
@@ -20,8 +20,6 @@
 package org.apache.directory.shared.ldap.message;
 
 
-
-
 /**
  * CompareResponse implementation.
  * 
@@ -41,6 +39,15 @@ public class CompareResponseImpl extends
 
     /**
      * Creates a CompareResponse as a reply to an CompareRequest.
+     */
+    public CompareResponseImpl()
+    {
+        super( -1, TYPE );
+    }
+
+
+    /**
+     * Creates a CompareResponse as a reply to an CompareRequest.
      * 
      * @param id the session unique message id
      */

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/DeleteResponseImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/DeleteResponseImpl.java?rev=986660&r1=986659&r2=986660&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/DeleteResponseImpl.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/DeleteResponseImpl.java
Wed Aug 18 13:20:34 2010
@@ -20,8 +20,6 @@
 package org.apache.directory.shared.ldap.message;
 
 
-
-
 /**
  * DeleteResponse implementation
  * 
@@ -41,6 +39,15 @@ public class DeleteResponseImpl extends 
 
     /**
      * Creates a DeleteResponse as a reply to an DeleteRequest.
+     */
+    public DeleteResponseImpl()
+    {
+        super( -1, TYPE );
+    }
+
+
+    /**
+     * Creates a DeleteResponse as a reply to an DeleteRequest.
      * 
      * @param id the session unique message id
      */

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ExtendedResponseImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ExtendedResponseImpl.java?rev=986660&r1=986659&r2=986660&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ExtendedResponseImpl.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ExtendedResponseImpl.java
Wed Aug 18 13:20:34 2010
@@ -54,6 +54,18 @@ public class ExtendedResponseImpl extend
     /**
      * Creates an ExtendedResponse as a reply to an ExtendedRequest.
      * 
+     * @param responseName the ExtendedResponse's name
+     */
+    public ExtendedResponseImpl( String responseName )
+    {
+        super( -1, TYPE );
+        this.responseName = responseName;
+    }
+
+
+    /**
+     * Creates an ExtendedResponse as a reply to an ExtendedRequest.
+     * 
      * @param id the session unique message id
      * @param responseName the ExtendedResponse's name
      */

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnResponseImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnResponseImpl.java?rev=986660&r1=986659&r2=986660&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnResponseImpl.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnResponseImpl.java
Wed Aug 18 13:20:34 2010
@@ -20,8 +20,6 @@
 package org.apache.directory.shared.ldap.message;
 
 
-
-
 /**
  * ModifyDnResponse implementation
  * 
@@ -41,6 +39,15 @@ public class ModifyDnResponseImpl extend
 
     /**
      * Creates a ModifyDnResponse as a reply to an ModifyDnRequest.
+     */
+    public ModifyDnResponseImpl()
+    {
+        super( -1, TYPE );
+    }
+
+
+    /**
+     * Creates a ModifyDnResponse as a reply to an ModifyDnRequest.
      * 
      * @param id the sequence if of this response
      */

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyResponseImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyResponseImpl.java?rev=986660&r1=986659&r2=986660&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyResponseImpl.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyResponseImpl.java
Wed Aug 18 13:20:34 2010
@@ -20,8 +20,6 @@
 package org.apache.directory.shared.ldap.message;
 
 
-
-
 /**
  * ModifyResponse implementation
  * 
@@ -40,6 +38,15 @@ public class ModifyResponseImpl extends 
 
     /**
      * Creates a ModifyResponse as a reply to an ModifyRequest.
+     */
+    public ModifyResponseImpl()
+    {
+        super( -1, TYPE );
+    }
+
+
+    /**
+     * Creates a ModifyResponse as a reply to an ModifyRequest.
      * 
      * @param id the sequence id for this response
      */

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultDoneImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultDoneImpl.java?rev=986660&r1=986659&r2=986660&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultDoneImpl.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultDoneImpl.java
Wed Aug 18 13:20:34 2010
@@ -20,8 +20,6 @@
 package org.apache.directory.shared.ldap.message;
 
 
-
-
 /**
  * SearchResponseDone implementation
  * 
@@ -40,11 +38,20 @@ public class SearchResultDoneImpl extend
 
 
     /**
-     * Creates a Lockable SearchResponseDone as a reply to an SearchRequest to
+     * Creates a SearchResponseDone as a reply to an SearchRequest to
+     * indicate the end of a search operation.
+     */
+    public SearchResultDoneImpl()
+    {
+        super( -1, TYPE );
+    }
+
+
+    /**
+     * Creates a SearchResponseDone as a reply to an SearchRequest to
      * indicate the end of a search operation.
      * 
-     * @param id
-     *            the session unique message id
+     * @param id the session unique message id
      */
     public SearchResultDoneImpl( final int id )
     {

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultEntryImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultEntryImpl.java?rev=986660&r1=986659&r2=986660&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultEntryImpl.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultEntryImpl.java
Wed Aug 18 13:20:34 2010
@@ -68,6 +68,16 @@ public class SearchResultEntryImpl exten
     /**
      * Creates a SearchResponseEntry as a reply to an SearchRequest to
      * indicate the end of a search operation.
+     */
+    public SearchResultEntryImpl()
+    {
+        super( -1, TYPE );
+    }
+
+
+    /**
+     * Creates a SearchResponseEntry as a reply to an SearchRequest to
+     * indicate the end of a search operation.
      * 
      * @param id the session unique message id
      */

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultReferenceImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultReferenceImpl.java?rev=986660&r1=986659&r2=986660&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultReferenceImpl.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultReferenceImpl.java
Wed Aug 18 13:20:34 2010
@@ -45,13 +45,21 @@ public class SearchResultReferenceImpl e
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
+    /**
+     * Creates a SearchResponseReference as a reply to an SearchRequest
+     * to indicate the end of a search operation.
+     */
+    public SearchResultReferenceImpl()
+    {
+        super( -1, TYPE );
+    }
+
 
     /**
-     * Creates a Lockable SearchResponseReference as a reply to an SearchRequest
+     * Creates a SearchResponseReference as a reply to an SearchRequest
      * to indicate the end of a search operation.
      * 
-     * @param id
-     *            the session unique message id
+     * @param id the session unique message id
      */
     public SearchResultReferenceImpl( final int id )
     {



Mime
View raw message