
public abstract class AbstractService extends Object
ServiceRequests and
ServiceResponses with specific arguments.| Modifier and Type | Field and Description |
|---|---|
protected ServiceRequest |
servicerequest |
| Constructor and Description |
|---|
AbstractService() |
| Modifier and Type | Method and Description |
|---|---|
ServiceRequest |
getServiceRequest() |
abstract Collection<?> |
handleResponse(ServiceResponse response)
This method converts a ServiceResponse into a collection of objects
|
abstract void |
setServiceRequest(Collection<?> args)
This method converts a collection of arguments into a
ServiceRequest. |
protected ServiceRequest servicerequest
public final ServiceRequest getServiceRequest()
public abstract void setServiceRequest(Collection<?> args)
ServiceRequest.args - Arguments used for creating the ServiceRequestpublic abstract Collection<?> handleResponse(ServiceResponse response)
response - A ServiceResponse to processCopyright © 2018 universAAL Consortium. All rights reserved.