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

matthew_swift
04.12.2009 20df27fbd253139d3e5a24dd6e8063ed11dd1fab
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();
    }
  }