Interface AsyncCallback<T>
- All Known Implementing Classes:
ReaderEventTranslator
public interface AsyncCallback<T>
The primary interface a caller must implement to receive a response from a
remote procedure call.
-
Method Summary
-
Method Details
-
onFailure
Called when an asynchronous call fails to complete normally.- Parameters:
caught
- failure encountered while executing a remote procedure call
-
onSuccess
Called when an asynchronous call completes successfully.- Parameters:
result
- the return value of the remote produced call
-