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;
}