org.apache.felix.upnp.sample.binaryLight.services
Class PowerSwitchService

java.lang.Object
  extended by 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


Field Summary
 
Fields inherited from interface org.osgi.service.upnp.UPnPService
ID, TYPE
 
Constructor Summary
PowerSwitchService(LightModel model)
           
 
Method Summary
 org.osgi.service.upnp.UPnPAction getAction(java.lang.String name)
           
 org.osgi.service.upnp.UPnPAction[] getActions()
           
 java.lang.String getId()
           
 org.osgi.service.upnp.UPnPStateVariable getStateVariable(java.lang.String name)
           
 org.osgi.service.upnp.UPnPStateVariable[] getStateVariables()
           
 java.lang.String getType()
           
 java.lang.String getVersion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PowerSwitchService

public PowerSwitchService(LightModel model)
Method Detail

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