Пример #1
0
        public MessageServer(VisualizerHost visualizer)
        {
            string commName = "commDB";

            _mmf            = MemoryMappedFile.CreateOrOpen("mmf" + commName, 256 * 1024);
            _messageWait    = new EventWaitHandle(false, EventResetMode.AutoReset, "wait" + commName);
            _messageHandled = new EventWaitHandle(false, EventResetMode.AutoReset, "handled" + commName);

            this.visualizer = visualizer;
        }