@Override protected Response<SearchResult> invoke(final SearchRequest request) throws LdapException { final AsyncSearchListener listener = new AsyncSearchListener(request); getConnection().getProviderConnection().searchAsync(request, listener); try { return listener.getResponse(); } catch (InterruptedException e) { throw new LdapException("Asynchronous search interrupted", e); } }
@Override protected Response<SearchResult> invoke(final SearchRequest request) throws LdapException { final AsyncSearchListener listener = new AsyncSearchListener(request); getConnection().getProviderConnection().searchAsync(request, listener); try { return listener.getResponse(); } catch (InterruptedException e) { throw new LdapException("Asynchronous search interrupted", e); } }
@Override protected Response<SearchResult> invoke(final SearchRequest request) throws LdapException { final AsyncSearchListener listener = new AsyncSearchListener(request); getConnection().getProviderConnection().searchAsync(request, listener); try { return listener.getResponse(); } catch (InterruptedException e) { throw new LdapException("Asynchronous search interrupted", e); } }