@Extensible @ThreadSafety(level=INTERFACE_THREADSAFE) public interface LDAPSocketFactory
LDAPSocketFactory
interface.| Modifier and Type | Method | Description |
|---|---|---|
java.net.Socket |
makeSocket(java.lang.String host,
int port) |
Creates a socket to use when connecting to the directory sever.
|
@NotNull java.net.Socket makeSocket(@NotNull java.lang.String host, int port) throws LDAPException
host - The address of the server to which the socket should be
connected.port - The port of the server to which the socket should be
connected.LDAPException - If a problem occurs while establishing the
connection.