public class SocketFactories
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
| private static class  | SocketFactories.TdsTlsSocketFactoryThe socket factory for creating sockets based on the SSL setting. | 
| Constructor and Description | 
|---|
| SocketFactories() | 
| Modifier and Type | Method and Description | 
|---|---|
| static javax.net.SocketFactory | getSocketFactory(java.lang.String ssl,
                java.net.Socket socket)Returns a socket factory, the behavior of which will depend on the SSL
 setting and whether or not the DB server supports SSL. | 
public static javax.net.SocketFactory getSocketFactory(java.lang.String ssl,
                                       java.net.Socket socket)
ssl - the SSL settingsocket - plain TCP/IP socket to wrapGenerated on June 8 2013