Package io.ably.lib.realtime
Class CompletionListener.ToCallback
- java.lang.Object
-
- io.ably.lib.realtime.CompletionListener.ToCallback
-
- All Implemented Interfaces:
Callback<java.lang.Void>
- Enclosing interface:
- CompletionListener
public static class CompletionListener.ToCallback extends java.lang.Object implements Callback<java.lang.Void>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.ably.lib.types.Callback
Callback.Map<T,U>
-
-
Constructor Summary
Constructors Constructor Description ToCallback(CompletionListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonError(ErrorInfo reason)Called when the associated operation completes with an error.voidonSuccess(java.lang.Void v)Called when the associated operation completes successfully,
-
-
-
Constructor Detail
-
ToCallback
public ToCallback(CompletionListener listener)
-
-
Method Detail
-
onSuccess
public void onSuccess(java.lang.Void v)
Description copied from interface:CallbackCalled when the associated operation completes successfully,
-
-