Package org.jpos.iso
Interface MUX
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ISOMsg
request(ISOMsg m, long timeout)
Sends a message to remote host and wait for responsevoid
request(ISOMsg m, long timeout, ISOResponseListener r, java.lang.Object handBack)
Sends a message to remote host in async way-
Methods inherited from interface org.jpos.iso.ISOSource
isConnected, send
-
-
-
-
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 sendtimeout
- 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 sendtimeout
- time to wait for the responser
- reference to response listenerhandBack
- optional handback to be given to reponse listener- Throws:
ISOException
-
-