
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. |
getServiceRequestprotected String IDforResult
public final Collection<?> handleResponse(ServiceResponse response)
handleResponse in class AbstractServiceresponse - A ServiceResponse to processpublic abstract void setServiceRequest(Collection<?> args)
AbstractServiceServiceRequest.setServiceRequest in class AbstractServiceargs - Arguments used for creating the ServiceRequestCopyright © 2018 universAAL Consortium. All rights reserved.