Package org.jpos.iso

Interface MUX

    • Method Detail

      • request

        ISOMsg request​(ISOMsg m,
                       long timeout)
                throws ISOException
        Sends a message to remote host and wait for response
        Parameters:
        m - message to send
        timeout - time to wait for a message
        Returns:
        received message or null
        Throws:
        ISOException
      • request

        void request​(ISOMsg m,
                     long timeout,
                     ISOResponseListener r,
                     java.lang.Object handBack)
              throws ISOException
        Sends a message to remote host in async way
        Parameters:
        m - message to send
        timeout - time to wait for the response
        r - reference to response listener
        handBack - optional handback to be given to reponse listener
        Throws:
        ISOException