public final class InternalMozillaLDAPSocketFactory extends Object implements LDAPSocketFactory
LDAPConnection conn =
new LDAPConnection(new InternalMozillaLDAPSocketFactory());
| Constructor and Description |
|---|
InternalMozillaLDAPSocketFactory()
Creates a new instance of this internal Mozilla LDAP socket
factory.
|
| Modifier and Type | Method and Description |
|---|---|
Socket |
makeSocket(String host,
int port)
Creates and returns a new internal LDAP socket, which can be used
by the Mozilla LDAP SDK for Java to perform internal operations
in OpenDS.
|
public InternalMozillaLDAPSocketFactory()
public Socket makeSocket(String host, int port)
makeSocket in interface LDAPSocketFactoryhost - The address of the server to which the connection
should be established. This will be ignored, since
there will not be any actual network communication.port - The port of the server to which the connection
should be established. This will be ignored, since
there will not be any actual network communication.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.