Package io.ably.lib.realtime
Interface CompletionListener
- All Known Implementing Classes:
-
CompletionListener.FromCallback
,CompletionListener.Multicaster
public interface CompletionListener
An interface allowing a client to be notified of the outcome
of an asynchronous operation.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
static class
A Multicaster instance is used in the Ably library to manage a list of client listeners against certain operations.static class
-
Method Summary
-
Method Details
-
onSuccess
void onSuccess()Called when the associated operation completes successfully. -
onError
Called when the associated operation completes with an error.- Parameters:
-
reason
- information about the error.
-