Package org.jpos.q2.iso
Class QMUXProxy
- java.lang.Object
-
- org.jpos.q2.iso.QMUXProxy
-
- All Implemented Interfaces:
java.rmi.Remote
,Configurable
,RemoteQMUX
public class QMUXProxy extends java.lang.Object implements RemoteQMUX, Configurable
RMI QMUX Proxy- Since:
- 1.4.9
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isConnected()
ISOMsg
request(ISOMsg m, long timeout)
void
request(ISOMsg m, long timeout, ISOResponseListener rl, java.lang.Object handBack)
void
setConfiguration(Configuration cfg)
-
-
-
Method Detail
-
isConnected
public boolean isConnected()
- Specified by:
isConnected
in interfaceRemoteQMUX
- Returns:
- true if connected
-
request
public ISOMsg request(ISOMsg m, long timeout) throws ISOException
- Specified by:
request
in interfaceRemoteQMUX
- Parameters:
m
- message to sendtimeout
- time to wait for a message- Returns:
- received message or null
- Throws:
ISOException
-
request
public void request(ISOMsg m, long timeout, ISOResponseListener rl, java.lang.Object handBack) throws ISOException
- Specified by:
request
in interfaceRemoteQMUX
- Throws:
ISOException
-
setConfiguration
public void setConfiguration(Configuration cfg) throws ConfigurationException
- Specified by:
setConfiguration
in interfaceConfigurable
- Parameters:
cfg
- Configuration object- Throws:
ConfigurationException
-
-