Examples of DmxConnection


Examples of org.openhab.binding.dmx.DmxConnection

    running = true;
    try {
      byte[] b = universe.calculateBuffer();
      if (universe.getBufferChanged()) {
        DmxConnection conn = service.getConnection();
        if (conn != null) {
          conn.sendDmx(b);
          universe.notifyStatusListeners();
        }
      }
    } catch (Exception e) {
      logger.error("Error sending dmx values.", e);
View Full Code Here

Examples of org.openhab.binding.dmx.DmxConnection

        intp.println(getHelp());
        return null;
      }

      if (cmd.equals("status")) {
        DmxConnection conn = service.getConnection();
        if (conn == null) {
          intp.println("No dmx connection available.");
        } else if (conn.isClosed()) {
          intp.println("Not connected to "
              + conn.getClass().getSimpleName() + ".");
        } else if (!conn.isClosed()) {
          intp.println("Connected to "
              + conn.getClass().getSimpleName() + ".");
        }
        return null;
      }

      if (cmd.equals("mirror")) {
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.