public interface AsyncEnumeratorResultCallback
RemoteReference.invoke(java.lang.String, java.lang.Class[], java.lang.Object[], com.prosyst.mprm.backend.rpc.AsyncEnumeratorResultCallback)
or RemoteReference.sortedInvoke(java.lang.String, java.lang.Class[], java.lang.Object[], boolean, com.prosyst.mprm.backend.rpc.AsyncEnumeratorResultCallback)
methods. This instance will be then called back by the RCP service to mutiple times to
supply the application with all elements of the Enumerator result when they become available.
AsyncEnumeratorResultCallback last argument,
which means that the method is implemented asynchronously and application will return the
Enumerator elements 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 |
nextResultElement(java.lang.Object nextElement)
Invoked when next element of the Enumerator result of the rpc method call
becomes available.
|
void |
resultFinished()
Invoked to indicate that there are no more elements in the Enumerator result.
|
void nextResultElement(java.lang.Object nextElement)
void resultFinished()
void error(RPCException exception)
the - exception occured during the remote call.Copyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.