Interface ZCLCommandResponse


public interface ZCLCommandResponse
A response event for a ZCLCommandResponseStream.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a promise holding the response.
    boolean
    Checks if this is a terminal close event.
  • Method Details

    • 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.