Package zephyropen.api

Examples of zephyropen.api.API


      // System.err.println("null device: " + deviceName);
      return;
    }
   
    /** look up the API */
    API api = apiFactory.create(deviceName);
   
    /** error check */
    if (api == null){
      //System.err.println("api look fails for device name: " + deviceName);
      //System.err.println("factory: " + apiFactory.toXML());
      return;
    }
   
    /** check that this is a valid command for this device */
    if (command.isMalformedCommand(api)) return;
     
    /** execute the command */
    api.execute(command);
  }
 
View Full Code Here

TOP

Related Classes of zephyropen.api.API

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.