Package org.jpos.iso

Interface ISOClientSocketFactory

    • 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 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