public interface IAsyncCallback<ResultType>
| Modifier and Type | Method and Description |
|---|---|
void |
onFailure(Throwable exception)
This method will be invoked by an arbitrary thread
when an asynchronous remote service call fails.
|
void |
onSuccess(ResultType result)
This method will be invoked by an arbitrary
thread when an asynchronous remote service call
is successfully completed.
|
void onSuccess(ResultType result)
onFailure(Throwable) will be called
for a given remote call.result - the result of the remote call. May be null.void onFailure(Throwable exception)
onSuccess(Object) will be called
for a given remote call.exception - any exception associated with the failure. Will not be null.Copyright © 2004–2020 Eclipse Foundation. All rights reserved.