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>
-
-
-
Method Summary
| Modifier and Type |
Method |
Description |
void |
onError(ErrorInfo reason) |
Called when the associated operation completes with an error.
|
void |
onSuccess(java.lang.Void v) |
Called when the associated operation completes successfully,
|
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
public void onSuccess(java.lang.Void v)
Description copied from interface: Callback
Called when the associated operation completes successfully,
- Specified by:
onSuccess in interface Callback<java.lang.Void>
-
Description copied from interface: Callback
Called when the associated operation completes with an error.
- Specified by:
onError in interface Callback<java.lang.Void>
- Parameters:
reason - information about the error.