Package de.tudresden.ws

Examples of de.tudresden.ws.ServiceImpl


  public static void main(String[] args) {
   
    //Start your webservice with the bash or the cmd!
 
    ServiceImpl ws = new SumoWebservice().getServiceImplPort();
   
    //optional
    ws.setSumoBinary(sumo_bin);
    ws.setConfig(config_file);
     
     
    ws.addOption("start", "");
    ws.addOption("step-length", step_length+"");
    ws.start("user");
     
    for(int i=0; i<3600; i++){
       
      ws.doTimestep();
      ws.vehicleAdd("v"+i, "car", "r1", 0, 0, 13.8, (byte) 1);
    }
     
    ws.stop("user");
   
  }
View Full Code Here

TOP

Related Classes of de.tudresden.ws.ServiceImpl

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.