jPOS 1.6.7 API Documentation

org.jpos.iso
Interface MUX

All Known Implementing Classes:
ISOMUX, MUXPool, QMUX, SpaceMUX

public interface MUX

MUX interface

Version:
$Revision: 2854 $ $Date: 2010-01-02 02:34:31 -0800 (Sat, 02 Jan 2010) $
Author:
Alejandro Revilla

Method Summary
 boolean isConnected()
           
 ISOMsg request(ISOMsg m, long timeout)
           
 void request(ISOMsg m, long timeout, ISOResponseListener r, java.lang.Object handBack)
           
 

Method Detail

request

ISOMsg request(ISOMsg m,
               long timeout)
               throws ISOException
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
Throws:
ISOException

isConnected

boolean isConnected()
Returns:
true if connected

jPOS.org