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

matthew_swift
04.12.2009 fa59221ed4c2777097b0fd1a38c6839d60680499
opendj-sdk/sdk/src/org/opends/sdk/AuthenticatedConnectionFactory.java
@@ -105,6 +105,7 @@
        ConnectionResultHandler<? super AuthenticatedAsynchronousConnection, P> handler,
        P p)
    {
      // TODO: bug here? if allowRebind= false then bind will never happen
      ConnectionFutureImpl<P> future = new ConnectionFutureImpl<P>(
          allowRebinds ? request : null, handler, p);
      future.connectFuture = parentFactory.getAsynchronousConnection(
@@ -315,10 +316,10 @@
    public void close(UnbindRequest request)
    public void close(UnbindRequest request, String reason)
        throws NullPointerException
    {
      connection.close(request);
      connection.close(request, reason);
    }
@@ -463,6 +464,13 @@
          searchResulthandler, p);
    }
    /**
     * {@inheritDoc}
     */
    public boolean isClosed()
    {
      return connection.isClosed();
    }
  }