Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sourceforge.jtds.ssl
Class SocketFactories

    java.lang.Object
      |
      +--net.sourceforge.jtds.ssl.SocketFactories

public class SocketFactories
extends java.lang.Object

Used for acquiring a socket factory when SSL is enabled.

Version:
  $Id: SocketFactories.java,v 1.8 2007/07/08 17:28:24 bheineman Exp $
Author:
  Rob Worsnop, Mike Hutchinson

Inner Class Summary
`private static class` | `SocketFactories.TdsTlsSocketFactory` The socket factory for creating sockets based on the SSL setting.

Constructor Summary
`SocketFactories()`

Method Summary
`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.

Methods inherited from class java.lang.Object
`, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait`

Constructor Detail

### SocketFactories

    public SocketFactories()

Method Detail

### getSocketFactory

    public 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.
  Parameters:
    `ssl` - the SSL setting
    `socket` - plain TCP/IP socket to wrap

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Generated on August 22 2007