Examples of OnOffServerService


Examples of com.francetelecom.m2m.gateway.service.machine.zcl.standard.cluster.OnOffServerService

   *
   * @param pumpEndpointService
   */
  private void openPump(EndPointService pumpEndpointService) {
    System.out.println("open pump");
    OnOffServerService onOffPump = null;
    onOffPump = (OnOffServerService) pumpEndpointService
        .getServerSideCluster(OnOff.CLUSTER_NAME);
    try {
      onOffPump.on();
    } catch (ClusterCommandeException e) {
      printMessage(LogService.LOG_ERROR, "unable to open the pump");
    }
  }
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.