Package fi.bitwards.service
Interface BitwardsAdminService.BitwardsAdminCallback
- Enclosing class:
BitwardsAdminService
public static interface BitwardsAdminService.BitwardsAdminCallback
The BitwardsAdminCallback which is used to return then result when asynchronous method
is used. The onSuccess method has Object as the method output parameter, and which needs
to be cast to the actual return value instance.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonError(BitwardsException exception) This method is called when an oepration has failed.voidThis method is called when an operation has been successfully completed.
-
Method Details
-
onSuccess
This method is called when an operation has been successfully completed.- Parameters:
result- the result of the operation, Object must be cast to actual result class instance.
-
onError
This method is called when an oepration has failed.- Parameters:
exception- the exception describing the error.
-