예제 #1
0
 /**
  * Invoked to process an openHAB command
  *
  * @param driver The driver to use
  * @param c The item configuration
  * @param command The actual command to execute
  */
 public void processCommand(Driver driver, InsteonPLMBindingConfig c, Command command) {
   logger.debug("processing command {} features: {}", command, m_features.size());
   synchronized (m_features) {
     for (DeviceFeature i : m_features.values()) {
       if (i.isReferencedByItem(c.getItemName())) {
         i.handleCommand(c, command);
       }
     }
   }
 }