public static class CompletionListener.FromCallback extends java.lang.Object implements CompletionListener
CompletionListener.FromCallback, CompletionListener.Multicaster, CompletionListener.ToCallback| Constructor and Description |
|---|
FromCallback(Callback<java.lang.Void> callback) |
| Modifier and Type | Method and Description |
|---|---|
void |
onError(ErrorInfo reason)
Called when the associated operation completes with an error.
|
void |
onSuccess()
Called when the associated operation completes successfully,
|
public FromCallback(Callback<java.lang.Void> callback)
public void onSuccess()
CompletionListeneronSuccess in interface CompletionListenerpublic void onError(ErrorInfo reason)
CompletionListeneronError in interface CompletionListener