Package org.apache.catalina.tribes.group
Interface ExtendedRpcCallback
- All Superinterfaces:
RpcCallback
Extension to the
RpcCallback
interface. Allows an RPC messenger to get a confirmation if the reply was sent
successfully to the original sender.-
Method Summary
Modifier and TypeMethodDescriptionvoid
replyFailed
(Serializable request, Serializable response, Member sender, Exception reason) The reply failed.void
replySucceeded
(Serializable request, Serializable response, Member sender) The reply succeededMethods inherited from interface org.apache.catalina.tribes.group.RpcCallback
leftOver, replyRequest
-
Method Details
-
replyFailed
The reply failed.- Parameters:
request
- - the original message that requested the replyresponse
- - the reply message to the original messagesender
- - the sender requested that replyreason
- - the reason the reply failed
-
replySucceeded
The reply succeeded- Parameters:
request
- - the original message that requested the replyresponse
- - the reply message to the original messagesender
- - the sender requested that reply
-