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(Serializable request,
Serializable response,
Member sender,
Exception reason)
The reply failed.
|
void |
replySucceeded(Serializable request,
Serializable response,
Member sender)
The reply succeeded
|
leftOver, replyRequest
void replyFailed(Serializable request, Serializable response, Member sender, 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(Serializable request, 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-2021 Apache Software Foundation. All Rights Reserved.