Interface MUX

All Superinterfaces:
ISOSource
All Known Implementing Classes:
MUXPool, QMUX

public interface MUX extends ISOSource
MUX interface
  • Method Summary

    Modifier and Type
    Method
    Description
    request(ISOMsg m, long timeout)
    Sends a message to remote host and wait for response
    void
    request(ISOMsg m, long timeout, ISOResponseListener r, Object handBack)
    Sends a message to remote host in async way

    Methods inherited from interface ISOSource

    isConnected, send
    Modifier and Type
    Method
    Description
    boolean
    Indicates whether this source is currently connected and able to send messages.
    void
    sends (or hands back) an ISOMsg
  • Method Details

    • 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 - on pack/unpack error
    • request

      void request(ISOMsg m, long timeout, ISOResponseListener r, 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 - on pack/unpack error