Package propagation

Examples of propagation.PropagationManager.stateChange()


      printStatus("Japan.Tokyo.RainSensor1: id: 1003  state: 1040->1041 (retrieved from cache #2)", pm2);

      System.out.println("---------------------------------------------");
      System.out.println("Modified on Server #2");
      // A state has been changed in one of the item. This will be fine-grained replicated.
      pm2.stateChange("Japan.Yokohama.WindSensor2", 1001, 1041); // Modified state on cache #2
      printStatus("Japan.Yokohama.WindSensor2: id: 1001  state: 1040->1041 (retrieved from cache #1)"
              , pm2);

   }
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.