public class ErrorLogContinuation<E> extends Object implements Continuation<E>
| Constructor and Description |
|---|
ErrorLogContinuation(String message) |
| Modifier and Type | Method and Description |
|---|---|
void |
onError(Throwable cause)
This method gets called when the operation fails.
|
void |
onSuccess(E result)
This method is called when the operation succeeds.
|
public ErrorLogContinuation(String message)
public void onSuccess(E result)
ContinuationonSuccess in interface Continuation<E>result - The result of the completed operationpublic void onError(Throwable cause)
ContinuationonError in interface Continuation<E>cause - The cause of the failureCopyright © 2022 Kurento. All rights reserved.