2528N/A/*
2528N/A * CDDL HEADER START
2528N/A *
2528N/A * The contents of this file are subject to the terms of the
2528N/A * Common Development and Distribution License, Version 1.0 only
2528N/A * (the "License"). You may not use this file except in compliance
2528N/A * with the License.
2528N/A *
2528N/A * You can obtain a copy of the license at
2528N/A * trunk/opends/resource/legal-notices/OpenDS.LICENSE
2528N/A * or https://OpenDS.dev.java.net/OpenDS.LICENSE.
2528N/A * See the License for the specific language governing permissions
2528N/A * and limitations under the License.
2528N/A *
2528N/A * When distributing Covered Code, include this CDDL HEADER in each
2528N/A * file and include the License file at
2528N/A * trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
2528N/A * add the following below this CDDL HEADER, with the fields enclosed
2528N/A * by brackets "[]" replaced with your own identifying information:
2528N/A * Portions Copyright [yyyy] [name of copyright owner]
2528N/A *
2528N/A * CDDL HEADER END
2528N/A *
2528N/A *
3231N/A * Copyright 2008 Sun Microsystems, Inc.
2528N/A */
2528N/Apackage netscape.ldap;
2528N/A
2528N/A
2528N/A
2528N/Aimport java.net.Socket;
2528N/A
2528N/A
2528N/A
2528N/A/**
2528N/A * This class provides an empty definition of the
2528N/A * {{netscape.ldap.LDAPSocketFactory}} interface, which is part of the Mozilla
2528N/A * LDAP SDK for Java. It is provided to allow the
2528N/A * {{org.opends.server.protocols.internal.InternalMozillaLDAPSocketFactory}}
2528N/A * class to compile without creating a dependency on the full Mozilla LDAP SDK
2528N/A * for Java.
2528N/A * <BR><BR>
2528N/A * Note that we do not intend to distribute the Mozilla LDAP SDK for Java with
2528N/A * OpenDS, or do we depend on it in any way. Any third-party applications which
2528N/A * intend to use the
2528N/A * {{org.opends.server.protocols.internal.InternalMozillaLDAPSocketFactory}}
2528N/A * class will be required to provide the Mozilla LDAP SDK for Java library.
2528N/A */
2528N/Apublic interface LDAPSocketFactory
2528N/A{
2528N/A public Socket makeSocket(String host, int port);
2528N/A}
2528N/A