public interface RQLEngine
RQLResponse
s when it receives
a RQLRequest
.
The implementation must be thread safe. Also implementing classes must conform exactly to
the contract provided for the request
method.
Modifier and Type | Method and Description |
---|---|
java.util.List<RQLResponse> |
request(RQLRequest request,
RQLHandler handler)
Executes an
RQLRequest . |
java.util.List<RQLResponse> request(RQLRequest request, RQLHandler handler) throws RQLException
RQLRequest
.
The request method executes synchronously. It blocks until the request has been processed or a fatal error has stopped the execution.
request
- the request that will be executed.handler
- receives notification of generated RQLResponse
s or
exceptions. It can be null
, meaning that both RQLResponse
s
and exceptions are ignored.RQLResponse
s generated from the request
.java.lang.NullPointerException
- if the request
parameter is null
.RQLException
- if a serious error occurs when trying to process the request.RoboSuite Java API, v11.4.7880