Package org.osgi.service.zigbee
Interface ZCLCommandResponse
-
public interface ZCLCommandResponse
A response event for aZCLCommandResponseStream
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Promise<ZCLFrame>
getResponse()
Returns a promise holding the response.boolean
isEnd()
Checks if this is a terminal close event.
-
-
-
Method Detail
-
getResponse
Promise<ZCLFrame> getResponse()
Returns a promise holding the response.- Returns:
- A Promise holding the
ZCLFrame
response, or a failure exception if this is not a success response.
-
isEnd
boolean isEnd()
Checks if this is a terminal close event.- Returns:
true
if this is a terminal close event.
-
-