|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.universAAL.lddi.knx.interfaces.KnxDriver
public abstract class KnxDriver
This abstract class is designed to help developing a knx driver. It stores information about the coupled groupDevice. It provides an service tracker for the attached groupDevice service.
Field Summary | |
---|---|
protected IKnxDriverClient |
client
upper layer instance |
KnxGroupDevice |
groupDevice
|
Constructor Summary | |
---|---|
KnxDriver()
|
|
KnxDriver(IKnxDriverClient client)
|
Method Summary | |
---|---|
protected boolean |
attachDriver()
coupling this driver to groupDevice reference |
static String |
clearHexValue(String hexValue)
This method remove, if present, the "0x" prefix of the hexValue variable |
void |
detachDriver()
decoupling this driver from groupDevice reference |
void |
removeDriver()
Remove this driver from the driver list in knx network driver |
boolean |
setgroupDevice(KnxGroupDevice groupDevice)
store the groupDevice link this driver to the groupDevice |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public KnxGroupDevice groupDevice
protected IKnxDriverClient client
Constructor Detail |
---|
public KnxDriver()
public KnxDriver(IKnxDriverClient client)
Method Detail |
---|
public final boolean setgroupDevice(KnxGroupDevice groupDevice)
the
- groupDevice to setprotected boolean attachDriver()
id
- public final void detachDriver()
public final void removeDriver()
groupDevice
- the groupDevice to removepublic static String clearHexValue(String hexValue)
hexValue
- string containing an hex value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |