Package org.jpos.iso
Interface ISOClientSocketFactory
-
- All Known Implementing Classes:
GenericSSLSocketFactory
,SunJSSESocketFactory
public interface ISOClientSocketFactory
ISOClientSocketFactory
is used by BaseChannel and ISOServer in order to provide hooks for SSL implementations.- Since:
- 1.3.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 nameport
- the port number- Returns:
- a socket connected to the specified host and port.
- Throws:
java.io.IOException
- should an I/O error occurISOException
- on any other error
-
-