public class DelegatingIOCallback<V> extends Object implements IOCallback<V>
| Constructor and Description |
|---|
DelegatingIOCallback(xapi.util.api.SuccessHandler<V> success) |
DelegatingIOCallback(xapi.util.api.SuccessHandler<V> success,
xapi.util.api.ErrorHandler<Throwable> failure) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCancelled() |
void |
onCancel() |
void |
onError(Throwable e) |
void |
onSuccess(V t) |
public DelegatingIOCallback(xapi.util.api.SuccessHandler<V> success)
public void onCancel()
onCancel in interface IOCallback<V>public boolean isCancelled()
isCancelled in interface IOCallback<V>public void onError(Throwable e)
onError in interface IOCallback<V>onError in interface xapi.util.api.ErrorHandler<Throwable>Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.