jPOS 1.6.7 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: 2854 $ $Date: 2010-01-02 02:34:31 -0800 (Sat, 02 Jan 2010) $
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