Package se.sics.mspsim.util

Examples of se.sics.mspsim.util.ArgumentManager


        return MODE_MAX;
    }

    public static void main(String[] args) throws IOException {
        SentillaUSBNode node = new SentillaUSBNode();
        ArgumentManager config = new ArgumentManager();
        config.handleArguments(args);
        node.setupArgs(config);
    }
View Full Code Here


        return 0;
    }

    public static void main(String[] args) throws IOException {
        WismoteNode node = new WismoteNode();
        ArgumentManager config = new ArgumentManager();
        config.handleArguments(args);
        node.setupArgs(config);
    }
View Full Code Here

    }
  }

  public static void main(String[] args) throws IOException {
    SkyNode node = new SkyNode();
    ArgumentManager config = new ArgumentManager();
    config.handleArguments(args);
    node.setupArgs(config);
  }
View Full Code Here

    }
  }

  public static void main(String[] args) throws IOException {
    TelosNode node = new TelosNode();
    ArgumentManager config = new ArgumentManager();
    config.handleArguments(args);
    node.setupArgs(config);
  }
View Full Code Here

        return 0;
    }

    public static void main(String[] args) throws IOException {
        TyndallNode node = new TyndallNode();
        ArgumentManager config = new ArgumentManager();
        config.handleArguments(args);
        node.setupArgs(config);
    }
View Full Code Here

          + Character.toUpperCase(platform.charAt(0))
          + platform.substring(1).toLowerCase() + "Node";
  }

  public static void main(String[] args) throws IOException {
    ArgumentManager config = new ArgumentManager();
    config.handleArguments(args);

    String nodeType = config.getProperty("nodeType");
    String platform = nodeType;
    GenericNode node;
    if (nodeType != null) {
      node = createNode(nodeType);
    } else {
      platform = config.getProperty("platform");
      if (platform == null) {
          // Default platform
          platform = "sky";

          // Guess platform based on firmware filename suffix.
          // TinyOS firmware files are often named 'main.exe'.
          String[] a = config.getArguments();
          if (a.length > 0 && !"main.exe".equals(a[0])) {
              int index = a[0].lastIndexOf('.');
              if (index > 0) {
                  platform = a[0].substring(index + 1);
              }
View Full Code Here

        return MODE_MAX;
    }

    public static void main(String[] args) throws IOException {
        JCreateNode node = new JCreateNode();
        ArgumentManager config = new ArgumentManager();
        config.handleArguments(args);
        node.setupArgs(config);
    }
View Full Code Here

        return 0;
    }

    public static void main(String[] args) throws IOException {
        Exp5438Node node = new Exp5438Node();
        ArgumentManager config = new ArgumentManager();
        config.handleArguments(args);
        node.setupArgs(config);
    }
View Full Code Here

        return MODE_MAX;
    }

    public static void main(String[] args) throws IOException {
        Z1Node node = new Z1Node();
        ArgumentManager config = new ArgumentManager();
        config.handleArguments(args);
        node.setupArgs(config);
    }
View Full Code Here

    return 0;
  }

  public static void main(String[] args) throws IOException {
    ESBNode node = new ESBNode();
    ArgumentManager config = new ArgumentManager();
    config.handleArguments(args);
    node.setupArgs(config);
  }
View Full Code Here

TOP

Related Classes of se.sics.mspsim.util.ArgumentManager

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.