mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

boli
22.55.2009 1fbc9df5d0c44ae72c76dacc3c945d4f0d641ee6
sdk/src/org/opends/sdk/AsynchronousConnection.java
@@ -31,6 +31,7 @@
import java.io.Closeable;
import java.util.Collection;
import java.util.concurrent.TimeUnit;
import org.opends.sdk.requests.*;
import org.opends.sdk.responses.BindResult;
@@ -377,6 +378,21 @@
  /**
   * Returns true if the connection has not been closed and is still valid.
   * The implementation shall submit a search on the connection or use some
   * other mechanism that positively verifies the connection is still valid
   * when this method is called.
   *
   * The query submitted by the driver to validate the connection shall be
   * executed in the authentication context.
   *
   * @return {@code true} if the connection is valid, {@code false} otherwise.
   */
  boolean isValid();
  /**
   * Modifies an entry in the Directory Server using the provided modify
   * request.
   *