public class InvocationAdapter extends Object implements InvocationService.ResultListener
InvocationService.ResultListener to a ResultListener.
In the event of failure, the failure string is wrapped in an InvocationException.| Constructor and Description |
|---|
InvocationAdapter(ResultListener<Object> target) |
| Modifier and Type | Method and Description |
|---|---|
void |
requestFailed(String cause)
Called to report request failure.
|
void |
requestProcessed(Object result)
Indicates that the request was successfully processed.
|
public InvocationAdapter(ResultListener<Object> target)
public void requestProcessed(Object result)
InvocationService.ResultListenerrequestProcessed in interface InvocationService.ResultListenerpublic void requestFailed(String cause)
InvocationService.InvocationListenerrequestFailed in interface InvocationService.InvocationListenerCopyright © 2015. All rights reserved.