Interface RemoteQMUX
- All Superinterfaces:
Remote
- All Known Implementing Classes:
QMUXProxy
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether the underlying MUX is currently connected.Sendsmand blocks for up totimeoutms waiting for a matching response.voidrequest(ISOMsg m, long timeout, ISOResponseListener r, Object handBack) Sendsmasynchronously, dispatching the response (or expiration) tor.
-
Method Details
-
request
Sendsmand blocks for up totimeoutms waiting for a matching response.- Parameters:
m- message to sendtimeout- time to wait for a message- Returns:
- received message or null
- Throws:
ISOException- on pack/unpack errorRemoteException- if the RMI call fails
-
request
void request(ISOMsg m, long timeout, ISOResponseListener r, Object handBack) throws ISOException, RemoteException Sendsmasynchronously, dispatching the response (or expiration) tor.- Parameters:
m- message to sendtimeout- time to wait for a responser- response listener notified on success or expirationhandBack- opaque token relayed back tor- Throws:
ISOException- on pack/unpack errorRemoteException- if the RMI call fails
-
isConnected
Indicates whether the underlying MUX is currently connected.- Returns:
- true if connected
- Throws:
RemoteException- if the RMI call fails
-