Package erjang.driver

Examples of erjang.driver.EDriver


      EString command = (am == null)
          ? (EString)EString.make(name.elem2)
          : EString.fromString(am.getName());

      if (name.elem1 == am_spawn) {
        EDriver drv = ERT.find_driver(command);

        if (drv == null) {
          task = new EExecDriverTask(proc, name, command, portSetting);
        } else {
          task = new ESpawnDriverTask(proc, drv, command, portSetting);
        }

      } else if (name.elem1 == am_spawn_driver) {
        EDriver drv = ERT.find_driver(command);
        if (drv == null) {
          throw ERT.badarg(portName, portSetting);
        }
        task = new ESpawnDriverTask(proc, drv, command, portSetting);
View Full Code Here

TOP

Related Classes of erjang.driver.EDriver

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.