Interface MessagingCompletionHandler
-
public interface MessagingCompletionHandler
Defines an interface that the client application needs to implement to receive the result of messaging operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onError(MessagingException error)
Reports that the operation has failed.void
onSuccess()
Reports that the operation was successfully completed.
-
-
-
Method Detail
-
onSuccess
void onSuccess()
Reports that the operation was successfully completed.
-
onError
void onError(MessagingException error)
Reports that the operation has failed.- Parameters:
error
- Information about failure details.
-
-