public interface SingleCallback<T>
SingleCallback interface represents an asynchronous callback returning a single
values.| Modifier and Type | Method and Description |
|---|---|
void |
onError(DomainException e)
Callback for when the request encounters an error.
|
void |
onSuccess(T t)
Callback for when the request is successfully executed.
|
void onSuccess(T t)
onError(com.microstrategy.usher.DomainException).t - the expected item returned by the requestvoid onError(DomainException e)
onSuccess(Object).e - See DomainException