public abstract class QueryService extends AbstractService
Modifier and Type | Field and Description |
---|---|
protected String |
IDforResult
For every return value, an ID is needed which is given at the
ServiceServer side when the ServieceResponse is created.
|
servicerequest
Constructor and Description |
---|
QueryService() |
Modifier and Type | Method and Description |
---|---|
Collection<?> |
handleResponse(ServiceResponse response)
This method tries to get a return value from the response, and returns
null if there is none.
|
abstract void |
setServiceRequest(Collection<?> args)
This method converts a collection of arguments into a
ServiceRequest . |
getServiceRequest
protected String IDforResult
public final Collection<?> handleResponse(ServiceResponse response)
handleResponse
in class AbstractService
response
- A ServiceResponse
to processpublic abstract void setServiceRequest(Collection<?> args)
AbstractService
ServiceRequest
.setServiceRequest
in class AbstractService
args
- Arguments used for creating the ServiceRequest
Copyright © 2018 universAAL Consortium. All rights reserved.