Its extends ZCLAttributeInfo to add methods to read and write the ZCL
attribute from and to the ZigBee node with respectively the
getValue() and setValue(Object) methods.
| Modifier and Type | Field and Description |
|---|---|
| public static final String | ID
Property key for the optional attribute id of a ZigBee Event Listener.
|
| Modifier and Type | Method and Description |
|---|---|
| public Promise | Returns: A promise representing the completion of this asynchronous call. The response object returned byPromise#getValue() is the
requested attribute value in the relevant Java data type (see
getDataType() method and
ZCLDataTypeDescription#getJavaDataType()) or in
byte[] if getDataType() returns null. The
response object is null if an
ZCLException#UNSUPPORTED_ATTRIBUTE or
ZCLException#INVALID_VALUE error occurs and the adequate
ZCLException is returned by Promise#getFailure() .Gets the current value of the attribute. |
| public Promise | Returns: A promise representing the completion of this asynchronous call.Promise#getFailure() returns null if the attribute value
has been successfully written. The adequate ZigBeeException is
returned otherwise.the Java value to set. value)Sets the current value of the attribute. |
| ID | back to summary |
|---|---|
| public static final String ID Hides org. Property key for the optional attribute id of a ZigBee Event Listener. | |
| getValue | back to summary |
|---|---|
| public Promise Gets the current value of the attribute.
As described in section 2.4.1.3 Effect on Receipt of the ZCL
specification, a Read attributes command can have the following
status:
| |
| setValue | back to summary |
|---|---|
| public Promise Sets the current value of the attribute.
As described in section 2.4.3.3 Effect on Receipt of the ZCL
specification, a Write attributes command may return the
following status:
| |