org.universAAL.lddi.exporter.activityhub.driver
Class Iso11073SwitchSensorDriver
java.lang.Object
org.universAAL.lddi.exporter.activityhub.driver.Iso11073SwitchSensorDriver
- All Implemented Interfaces:
- org.osgi.service.device.Driver
public class Iso11073SwitchSensorDriver
- extends Object
- implements org.osgi.service.device.Driver
This Driver class manages driver instances for SwitchSensor devices.
when an attached device service is unregistered:
drivers must take the appropriate action to release this device service
and peform any necessary cleanup, as described in their device category spec
- Author:
- Thomas Fuxreiter (foex@gmx.at)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Iso11073SwitchSensorDriver
public Iso11073SwitchSensorDriver(ActivityHubDriverClient client,
org.osgi.framework.BundleContext context)
- Parameters:
context
- logTracker
-
match
public int match(org.osgi.framework.ServiceReference reference)
throws Exception
- Specified by:
match
in interface org.osgi.service.device.Driver
- Throws:
Exception
attach
public String attach(org.osgi.framework.ServiceReference reference)
throws Exception
- Specified by:
attach
in interface org.osgi.service.device.Driver
- Throws:
Exception
getConnectedDriver
public Set<Iso11073SwitchSensorInstance> getConnectedDriver()
- Returns:
- the connectedDriver
Copyright © 2014 universAAL Consortium. All Rights Reserved.