Package chemaxon.marvin.services
Interface AsyncCallback<T>
- Type Parameters:
T
- the type of the return value
Callback interface for asynchronous service calls
- Since:
- 5.6
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onFailure
(ServiceException caught) Called when asynchronous call is failedvoid
Called when asynchronous call is completed successfully
-
Method Details
-
onSuccess
Called when asynchronous call is completed successfully- Parameters:
result
- the result of call
-
onFailure
Called when asynchronous call is failed- Parameters:
caught
- the failure
-