Package org.openhab.binding.zwave.internal.protocol.serialmessage

Examples of org.openhab.binding.zwave.internal.protocol.serialmessage.ZWaveCommandProcessor.handleResponse()


  private void handleIncomingResponseMessage(SerialMessage incomingMessage) {
    logger.trace("Message type = RESPONSE");

    ZWaveCommandProcessor processor = ZWaveCommandProcessor.getMessageDispatcher(incomingMessage.getMessageClass());
    if(processor != null) {
      processor.handleResponse(this, lastSentMessage, incomingMessage);

      if(processor.isTransactionComplete()) {
        notifyEventListeners(new ZWaveTransactionCompletedEvent(this.lastSentMessage));
        transactionCompleted.release();
        logger.trace("Released. Transaction completed permit count -> {}", transactionCompleted.availablePermits());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.