Package io.ably.lib.realtime
Class CompletionListener.FromCallback
java.lang.Object
io.ably.lib.realtime.CompletionListener.FromCallback
- All Implemented Interfaces:
CompletionListener
- Enclosing interface:
- CompletionListener
public static class CompletionListener.FromCallback extends java.lang.Object implements CompletionListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.ably.lib.realtime.CompletionListener
CompletionListener.FromCallback, CompletionListener.Multicaster, CompletionListener.ToCallback -
Constructor Summary
Constructors Constructor Description FromCallback(Callback<java.lang.Void> callback) -
Method Summary
-
Constructor Details
-
Method Details
-
onSuccess
public void onSuccess()Description copied from interface:CompletionListenerCalled when the associated operation completes successfully.- Specified by:
onSuccessin interfaceCompletionListener
-
onError
Description copied from interface:CompletionListenerCalled when the associated operation completes with an error.- Specified by:
onErrorin interfaceCompletionListener- Parameters:
reason- information about the error.
-