Modifier and Type | Method and Description |
---|---|
ISOMsg |
request(ISOMsg m,
long timeout)
Sends a message to remote host and wait for response
|
void |
request(ISOMsg m,
long timeout,
ISOResponseListener r,
java.lang.Object handBack)
Sends a message to remote host in async way
|
isConnected, send
ISOMsg request(ISOMsg m, long timeout) throws ISOException
m
- message to sendtimeout
- time to wait for a messageISOException
void request(ISOMsg m, long timeout, ISOResponseListener r, java.lang.Object handBack) throws ISOException
m
- message to sendtimeout
- time to wait for the responser
- reference to response listenerhandBack
- optional handback to be given to reponse listenerISOException