Package org.jamesii.core.distributed.simulationserver

Examples of org.jamesii.core.distributed.simulationserver.SimulationClientThread


    LocateRegistry.createRegistry(MasterServer.DEFAULT_PORT);
    IMasterServer server = new MasterServer(masterServName);
    Host.publish(server, MasterServer.DEFAULT_PORT);

    for (int i = 0; i < numberOfServers; i++) {
      SimulationClientThread sct =
          new SimulationClientThread("-server=" + msAddress, "Client" + (i + 1));
      sct.start();
      SimSystem.report(Level.INFO, "Starting simulation server #" + (i + 1));
    }
    return server;
  }
View Full Code Here


            + name + ")");

          } else {

            // create server in extra thread
            SimulationClientThread sct =
                new SimulationClientThread("-server=" + serverAddress, name);
            sct.start();

            SimSystem.report(Level.INFO, "Created a simulation server in a separate thread +("
            + name + ")");

          }
View Full Code Here

TOP

Related Classes of org.jamesii.core.distributed.simulationserver.SimulationClientThread

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.