org.apache.felix.upnp.sample.binaryLight.services
Class PowerSwitchService
java.lang.Object
org.apache.felix.upnp.sample.binaryLight.services.PowerSwitchService
- All Implemented Interfaces:
- org.osgi.service.upnp.UPnPService
public class PowerSwitchService
- extends java.lang.Object
- implements org.osgi.service.upnp.UPnPService
Fields inherited from interface org.osgi.service.upnp.UPnPService |
ID, TYPE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PowerSwitchService
public PowerSwitchService(LightModel model)
getId
public java.lang.String getId()
- Specified by:
getId
in interface org.osgi.service.upnp.UPnPService
getType
public java.lang.String getType()
- Specified by:
getType
in interface org.osgi.service.upnp.UPnPService
getVersion
public java.lang.String getVersion()
- Specified by:
getVersion
in interface org.osgi.service.upnp.UPnPService
getAction
public org.osgi.service.upnp.UPnPAction getAction(java.lang.String name)
- Specified by:
getAction
in interface org.osgi.service.upnp.UPnPService
getActions
public org.osgi.service.upnp.UPnPAction[] getActions()
- Specified by:
getActions
in interface org.osgi.service.upnp.UPnPService
getStateVariables
public org.osgi.service.upnp.UPnPStateVariable[] getStateVariables()
- Specified by:
getStateVariables
in interface org.osgi.service.upnp.UPnPService
getStateVariable
public org.osgi.service.upnp.UPnPStateVariable getStateVariable(java.lang.String name)
- Specified by:
getStateVariable
in interface org.osgi.service.upnp.UPnPService