Exemplo n.º 1
0
 public SimEngine()
 {
     simCore = new SimCore();
     logPlayer = null;
     coordinator = null;
     simModelFile = null;
     serverPortNumber = null;
     replayLogger = null;
     textChatServer = null;
     whiteboardServer = null;
     voiceServer = null;
     //handshakeManager = null;
     viewManager = null;
 }
Exemplo n.º 2
0
 public void StartVoiceServer(int voicePort, string voiceServerPassword, string voiceAdminUser, 
     string voiceAdminPassword, bool voiceRecordChannel, DateTime time, bool isReplay, double replaySpeed)
 {
     voiceServer = new VoiceServer(simModelFile, ref simCore.distributor, time, isReplay, replaySpeed);
     voiceServerThread = new Thread(new ThreadStart(voiceServer.StartVoiceServer));
     voiceServerThread.Name = "DDD VoiceServer";
     voiceServerThread.SetApartmentState(ApartmentState.MTA);
     voiceServerThread.Start();
 }