|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TpacallAsyncReply
The object that is called back when a reply for an asyncronous tpacall
has been received.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |