public interface ZCLEventListener
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_DATA_TYPE
Property key for the optional attribute data type of an attribute
reporting configuration record, cf.
|
static String |
MAX_REPORT_INTERVAL
Property key for the optional maximum interval, in seconds between
issuing reports of the attribute.
|
static String |
MIN_REPORT_INTERVAL
Property key for the optional minimum interval, in seconds between
issuing reports of the attribute.
|
static String |
REPORTABLE_CHANGE
Property key for the optional maximum change to the attribute that will
result in a report being issued.
|
Modifier and Type | Method and Description |
---|---|
void |
notifyEvent(ZigBeeEvent event)
Notifies the reception of an event.
|
void |
notifyTimeOut(int timeout)
Notifies that the timeout is elapsed.
|
void |
onFailure(ZCLException e)
Notifies that a failure has occurred.
|
static final String ATTRIBUTE_DATA_TYPE
static final String MIN_REPORT_INTERVAL
static final String MAX_REPORT_INTERVAL
static final String REPORTABLE_CHANGE
void notifyEvent(ZigBeeEvent event)
event
- a set of events.void onFailure(ZCLException e)
That is, when either a ZCLException.UNSUPPORTED_ATTRIBUTE
,
ZCLException.UNREPORTABLE_TYPE
,
ZCLException.INVALID_VALUE
, or
ZCLException.INVALID_DATA_TYPE
status occurs.
e
- the ZCLException.void notifyTimeOut(int timeout)
timeout
- the timeout in seconds.Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0