public class QueryHost extends java.lang.Object implements TransactionParticipant, ISOResponseListener, Configurable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TIMEOUT_NAME |
Constructor and Description |
---|
QueryHost() |
Modifier and Type | Method and Description |
---|---|
void |
expired(java.lang.Object handBack) |
protected boolean |
isConnected(MUX mux) |
int |
prepare(long id,
java.io.Serializable ser)
Called by TransactionManager in preparation for a transaction
|
protected long |
resolveTimeout(Context ctx) |
void |
responseReceived(ISOMsg resp,
java.lang.Object handBack) |
void |
setConfiguration(Configuration cfg) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abort, commit
public static final java.lang.String TIMEOUT_NAME
public int prepare(long id, java.io.Serializable ser)
TransactionParticipant
prepare
in interface TransactionParticipant
id
- the Transaction identifierser
- transaction contextpublic void responseReceived(ISOMsg resp, java.lang.Object handBack)
responseReceived
in interface ISOResponseListener
public void expired(java.lang.Object handBack)
expired
in interface ISOResponseListener
public void setConfiguration(Configuration cfg) throws ConfigurationException
setConfiguration
in interface Configurable
cfg
- Configuration objectConfigurationException
protected long resolveTimeout(Context ctx)
protected boolean isConnected(MUX mux)