org.universAAL.lddi.exporter.activityhub.driver
Class Iso11073ContactClosureSensorDriver
java.lang.Object
org.universAAL.lddi.exporter.activityhub.driver.Iso11073ContactClosureSensorDriver
- All Implemented Interfaces:
- org.osgi.service.device.Driver
public class Iso11073ContactClosureSensorDriver
- extends Object
- implements org.osgi.service.device.Driver
This Driver class manages driver instances for ContactClosure 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 |
Iso11073ContactClosureSensorDriver
public Iso11073ContactClosureSensorDriver(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
- Parameters:
ActivityHubSensor
-
- Throws:
Exception
attach
public String attach(org.osgi.framework.ServiceReference reference)
throws Exception
- Specified by:
attach
in interface org.osgi.service.device.Driver
- Parameters:
ActivityHubSensor
-
- Throws:
Exception
getConnectedDriver
public Set<Iso11073ContactClosureSensorInstance> getConnectedDriver()
- Returns:
- the connectedDriver
Copyright © 2014 universAAL Consortium. All Rights Reserved.