public class IOCallbackDefault<V> extends Object implements IOCallback<V>
NO_OP| Constructor and Description |
|---|
IOCallbackDefault() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCancelled() |
void |
onCancel() |
void |
onError(Throwable e)
Called to route throwable errors to a callback
|
void |
onSuccess(V t)
Called when an asynchronous process successfully returns.
|
public void onSuccess(V t)
SuccessHandleronSuccess in interface SuccessHandler<V>t - - An object to process on success.public void onError(Throwable e)
ErrorHandleronError in interface IOCallback<V>onError in interface ErrorHandler<Throwable>e - - A Throwable describing the failure.public void onCancel()
onCancel in interface IOCallback<V>public boolean isCancelled()
isCancelled in interface IOCallback<V>Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.