jPOS 1.6.1 API Documentation

org.jpos.iso
Interface ISOClientSocketFactory

All Known Implementing Classes:
SunJSSESocketFactory

public interface ISOClientSocketFactory

ISOClientSocketFactory is used by BaseChannel and ISOServer in order to provide hooks for SSL implementations.

Since:
1.3.3
Version:
$Revision: 2594 $ $Date: 2008-01-22 08:41:31 -0800 (Tue, 22 Jan 2008) $
Author:
Alejandro P. Revilla

Method Summary
 java.net.Socket createSocket(java.lang.String host, int port)
          Create a client socket connected to the specified host and port.
 

Method Detail

createSocket

java.net.Socket createSocket(java.lang.String host,
                             int port)
                             throws java.io.IOException,
                                    ISOException
Create a client socket connected to the specified host and port.

Parameters:
host - the host name
port - the port number
Returns:
a socket connected to the specified host and port.
Throws:
java.io.IOException - should an I/O error occur
ISOException - on any other error

jPOS.org