jPOS 1.6.1 API Documentation

org.jpos.iso
Interface ISOServerSocketFactory

All Known Implementing Classes:
SunJSSESocketFactory

public interface ISOServerSocketFactory

ISOServerSocketFactory 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.ServerSocket createServerSocket(int port)
          Create a server socket on the specified port (port 0 indicates an anonymous port).
 

Method Detail

createServerSocket

java.net.ServerSocket createServerSocket(int port)
                                         throws java.io.IOException,
                                                ISOException
Create a server socket on the specified port (port 0 indicates an anonymous port).

Parameters:
port - the port number
Returns:
the server socket on the specified port
Throws:
java.io.IOException - should an I/O error occur
ISOException - on any other error creation

jPOS.org