ExtendedRpcCallback (Apache Tomcat 11.0.24 API Documentation)
Description: declaration: package: org.apache.catalina.tribes.group, interface: ExtendedRpcCallback

# Interface ExtendedRpcCallback

All Superinterfaces:
  `RpcCallback`

public interface ExtendedRpcCallback extends 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 Type
  Method
  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

  ### Methods inherited from interface RpcCallback

  `leftOver, replyRequest`

- ## Method Details

  - ### replyFailed

    void replyFailed(Serializable request, Serializable response, Member sender, Exception reason)
    The reply failed.
    Parameters:
      `request` - - the original message that requested the reply
      `response` - - the reply message to the original message
      `sender` - - the sender requested that reply
      `reason` - - the reason the reply failed

  - ### replySucceeded

    void replySucceeded(Serializable request, Serializable response, Member sender)
    The reply succeeded
    Parameters:
      `request` - - the original message that requested the reply
      `response` - - the reply message to the original message
      `sender` - - the sender requested that reply