org.jpos.q2.iso
Class QMUXProxy

java.lang.Object
  extended by org.jpos.q2.iso.QMUXProxy
All Implemented Interfaces:
Remote, Configurable, RemoteQMUX

public class QMUXProxy
extends Object
implements RemoteQMUX, Configurable

RMI QMUX Proxy

Since:
1.4.9
Version:
$Revision: 2854 $ $Date: 2010-01-02 10:34:31 +0000 (Sat, 02 Jan 2010) $
Author:
Mark Salter, Alejandro Revilla, Niclas Hedhman

Constructor Summary
QMUXProxy(QMUX qmux)
           
 
Method Summary
 boolean isConnected()
           
 ISOMsg request(ISOMsg m, long timeout)
           
 void request(ISOMsg m, long timeout, ISOResponseListener rl, Object handBack)
           
 void setConfiguration(Configuration cfg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QMUXProxy

public QMUXProxy(QMUX qmux)
          throws RemoteException
Throws:
RemoteException
Method Detail

isConnected

public boolean isConnected()
Specified by:
isConnected in interface RemoteQMUX
Returns:
true if connected

request

public ISOMsg request(ISOMsg m,
                      long timeout)
               throws ISOException
Specified by:
request in interface RemoteQMUX
Parameters:
m - message to send
timeout - time to wait for a message
Returns:
received message or null
Throws:
ISOException

request

public void request(ISOMsg m,
                    long timeout,
                    ISOResponseListener rl,
                    Object handBack)
             throws ISOException
Specified by:
request in interface RemoteQMUX
Throws:
ISOException

setConfiguration

public void setConfiguration(Configuration cfg)
                      throws ConfigurationException
Specified by:
setConfiguration in interface Configurable
Parameters:
cfg - Configuration object
Throws:
ConfigurationException


Copyright © 1998-2012 jPOS.org. All Rights Reserved.