java.io.Serializable
GatewayTpacallAsyncReply
public interface TpacallAsyncReply
extends java.io.Serializable
tpacall
has been received.Modifier and Type | Method | Description |
---|---|---|
void |
failure(ApplicationToMonitorInterface atmi,
CallDescriptor cd,
TPException failureReply) |
Called if the service returned with a failure code.
|
void |
success(ApplicationToMonitorInterface atmi,
CallDescriptor cd,
Reply successReply) |
Called if the service returned successfully.
|
void success(ApplicationToMonitorInterface atmi, CallDescriptor cd, Reply successReply)
atmi
- The connection associated with this request. It can be used for making
other calls on this connection.cd
- The call descriptor associated with this request.successReply
- The reply from the service.void failure(ApplicationToMonitorInterface atmi, CallDescriptor cd, TPException failureReply)
atmi
- The connection associated with this request. It can be used for making
other calls on this connection.cd
- The call descriptor associated with this request.failureReply
- The reply from the service. In some cases this reply may not
be from the service itself. For example: when tpacall
times out.
If it is from the service, then it is an instance of TPReplyException.