public class ServiceImpl extends Object implements ServiceInterface
| Modifier and Type | Field and Description |
|---|---|
static ServiceResponse |
sr |
| Constructor and Description |
|---|
ServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getAllLamps() |
static ServiceRequest |
getAllLampsRequest() |
static Device[] |
getControlledLamps() |
String |
getTurtleServiceReq(String turtleStr) |
String |
turnOffLamp(String lampURI) |
public static ServiceResponse sr
public Collection<String> getAllLamps()
getAllLamps in interface ServiceInterfacepublic static ServiceRequest getAllLampsRequest()
public String getTurtleServiceReq(String turtleStr)
getTurtleServiceReq in interface ServiceInterfacepublic static Device[] getControlledLamps()
public String turnOffLamp(String lampURI)
turnOffLamp in interface ServiceInterfaceCopyright © 2018 universAAL Consortium. All rights reserved.