Package org.openhab.action.openwebif.internal.impl.model

Examples of org.openhab.action.openwebif.internal.impl.model.SimpleResult


    }
    try {
      MessageType type = MessageType.valueOf(StringUtils.upperCase(messageType));
      if (!communicator.isOff(config)) {
        if (!communicator.isStandby(config)) {
          SimpleResult result = communicator.sendMessage(config, message, type, timeout);
          if (!result.isValid()) {
            logger.warn("Can't send message to OpenWebIf receiver with name '{}': {}", config.getName(),
                result.getStateText());
          } else {
            return true;
          }
        } else {
          logger.debug("OpenWebIf receiver with name '{}' is in standby", config.getName());
View Full Code Here

TOP

Related Classes of org.openhab.action.openwebif.internal.impl.model.SimpleResult

Copyright © 2018 www.massapicom. 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.