class ActivePassiveConnectionStrategy extends AbstractConnectionStrategy {

  @Override
  public Iterator<LdapURL> iterator()
  {
    if (!isInitialized()) {
      throw new IllegalStateException("Strategy is not initialized");
    }
    if (iterFunction != null) {
      return iterFunction.apply(ldapURLSet.getUrls());
    }
    return new DefaultLdapURLIterator(ldapURLSet.getUrls());
  }

  public  ActivePassiveConnectionStrategy();
  public  ActivePassiveConnectionStrategy(final Function<List<LdapURL>, Iterator<LdapURL>> function);

}