Package com.thalesgroup.gemalto.d1
Interface D1Task.ConfigCallback<T>
- Type Parameters:
T- The type of the returning data.
- Enclosing class:
- D1Task
public static interface D1Task.ConfigCallback<T>
Configuration callback to return the result of an asynchronous call.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidonError(List<D1Exception> exceptions) The request failed while executing.voidThe request has been successfully executed.
-
Method Details
-
onSuccess
The request has been successfully executed.- Parameters:
data- The result of the request. This argument is always null.
-
onError
The request failed while executing.- Parameters:
exceptions- The cause of the failures.
-