Package com.avaya.clientservices.call
Interface CompletionHandlerWithResult<T>
-
- Type Parameters:
T- The type of the returned object on success.
public interface CompletionHandlerWithResult<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonError(CallException error)Reports that the operation has failed.voidonSuccess(T result)Reports that the operation was successfully completed.
-
-
-
Method Detail
-
onSuccess
void onSuccess(T result)
Reports that the operation was successfully completed.- Parameters:
result- Object that indicates the result of the current operation
-
onError
void onError(CallException error)
Reports that the operation has failed.- Parameters:
error- Information about failure details.
-
-