com.sybase.jdbcx
Interface SybSocketFactory


public abstract interface SybSocketFactory

Interface for dynamic loading of custom socket factories in order to create custom sockets, such as SSL.

See Also:
SocketImplFactory, javax.net.SocketFactory

Method Summary
 Socket createSocket(String host, int port, Properties props)
          Creates a custom socket, based on host, port and connection properties.
 

Method Detail

createSocket

public Socket createSocket(String host,
                     int port,
                     Properties props)
                             throws IOException,
                                    UnknownHostException
Creates a custom socket, based on host, port and connection properties.
Parameters:
host - String representation of the host name
port - port number
props - connection properties
Throws:
IOException -  
UnknownHostException -