public interface ExtendedRpcCallback extends RpcCallback
RpcCallback
interface. Allows a RPC messenger to get a confirmation if the reply
was sent successfully to the original sender.Modifier and Type | Method and Description |
---|---|
void |
replyFailed(java.io.Serializable request,
java.io.Serializable response,
Member sender,
java.lang.Exception reason)
The reply failed.
|
void |
replySucceeded(java.io.Serializable request,
java.io.Serializable response,
Member sender)
The reply succeeded
|
leftOver, replyRequest
void replyFailed(java.io.Serializable request, java.io.Serializable response, Member sender, java.lang.Exception reason)
request
- - the original message that requested the replyresponse
- - the reply message to the original messagesender
- - the sender requested that replyreason
- - the reason the reply failedvoid replySucceeded(java.io.Serializable request, java.io.Serializable response, Member sender)
request
- - the original message that requested the replyresponse
- - the reply message to the original messagesender
- - the sender requested that replyCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.