|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.universAAL.lddi.lib.activityhub.driver.interfaces.ActivityHubDriver
public abstract class ActivityHubDriver
This abstract class is designed to help developing an activityhub driver. It stores information about the deviceIds (which one?) and commands (from iso spec) Additional client config necessary? Actuators additionally have to implement the IActivityHubActuator IF. It provides an OSGi service tracker for the attached ISO device service.
Field Summary | |
---|---|
protected ActivityHubDriverClient |
client
upper layer instance |
protected ActivityHubSensor |
device
|
Constructor Summary | |
---|---|
ActivityHubDriver(ActivityHubDriverClient client)
Driver state |
Method Summary | |
---|---|
protected boolean |
attachDriver()
coupling this driver to device reference |
void |
detachDriver()
decoupling this driver from device reference |
ActivityHubSensor |
getDevice()
device access |
abstract int |
getLastSensorEvent()
|
void |
removeDriver()
Remove this driver from the driver list in knx network driver |
boolean |
setDevice(ActivityHubSensor device)
store the device Add this driver instance to the driver list in my consumer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ActivityHubSensor device
protected ActivityHubDriverClient client
Constructor Detail |
---|
public ActivityHubDriver(ActivityHubDriverClient client)
Method Detail |
---|
public final boolean setDevice(ActivityHubSensor device)
device
- the device to setprotected boolean attachDriver()
id
- public final void detachDriver()
public final ActivityHubSensor getDevice()
public abstract int getLastSensorEvent()
public final void removeDriver()
device
- the device to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |