Example #1
0
        public static void StartDataServer(string id, int port)
        {
            consoles.Add(Process.Start("DataServer.exe", id + " " + port));
            IDataServerToPM dataServer = (IDataServerToPM)Activator.GetObject(
                typeof(IDataServerToPM),
                Helper.GetUrl(id, port)
                );

            processes[id] = dataServer;
            SendMetadataLocations(dataServer);
        }
Example #2
0
        public static void FreezeProcess(string id)
        {
            IDataServerToPM server = (IDataServerToPM)GetProcess(id);

            server.Freeze();
        }