Package fr.imag.adele.apam.test.lights.devices

Examples of fr.imag.adele.apam.test.lights.devices.BinaryLight


     * CallBack method on dependency resolution
     *
     * @param light
     */
    public void newLight(Instance inst) {
  BinaryLight light = (BinaryLight) inst.getServiceObject();
  logger.debug("newLight(Instance light : " + light.getName() + " in "
    + light.getLocation() + ")");
  rebuildLightsColumn();
    }
View Full Code Here


    + " lights to add to the list");

  if (theLights != null && theLights.size() > 0) {
      Iterator<BinaryLight> it = theLights.iterator();
      while (it.hasNext()) {
    BinaryLight light = it.next();
    logger.debug("rebuildLightsColumn() -> " + light.getName()
      + " is in " + light.getLocation());

      }
  }
    }
View Full Code Here

    /**
     * CallBack method on dependency resolution
     */
    public void removeLight(Instance inst) {
  BinaryLight light = (BinaryLight) inst.getServiceObject();
  logger.debug("removeLight(Instance light : " + light.getName() + " in "
    + light.getLocation() + ")");
  rebuildLightsColumn();
    }
View Full Code Here

TOP

Related Classes of fr.imag.adele.apam.test.lights.devices.BinaryLight

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.