public interface AsyncResultCallback
RemoteReference.invoke(java.lang.String, java.lang.Class[], java.lang.Object[], com.prosyst.mprm.backend.rpc.AsyncResultCallback)
method. This instance will be then called back by the RCP service to supply the application
with the result of the method call when it becomes available.
AsyncResultCallback last argument, which means that the method
is implemented asynchronously and application will return the result of the method
call later through this argument.
| Modifier and Type | Method and Description |
|---|---|
void |
error(RPCException exception)
Invoked when the rpc method call results with an exception.
|
void |
result(java.lang.Object result)
Invoked when the result of the rpc method call becomes available.
|
void result(java.lang.Object result)
result - the result of the method call or null if the method
returns void. If the result is primitive type it is wrapped
with the corresponding java object.void error(RPCException exception)
the - exception occured during the remote call.Copyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.