Esempio n. 1
0
        public WhenDisposingListener()
        {
            var guid          = Guid.NewGuid();
            var configuration = new FakeListenerConfiguration
            {
                Binding = String.Format(@"Local\HRVSTR_{0}", guid),
                Mutex   = "Harvester: " + guid
            };

            messageListener = new OutputDebugStringListener(messageProcessor.Object, configuration);
            messageListener.Start();
        }
        public WhenDisposingListener()
        {
            var guid = Guid.NewGuid();
            var configuration = new FakeListenerConfiguration
                                    {
                                        Binding = String.Format(@"Local\HRVSTR_{0}", guid),
                                        Mutex = "Harvester: " + guid
                                    };

            messageListener = new OutputDebugStringListener(messageProcessor.Object, configuration);
            messageListener.Start();
        }
Esempio n. 3
0
        public WhenDisposingListener()
        {
            var guid          = Guid.NewGuid();
            var configuration = new FakeListenerConfiguration
            {
                Binding = @"\\.\pipe\" + guid,
                Mutex   = "Harvester: " + guid
            };

            configuration["identity"] = "Everyone";

            messageListener = new PipeMessageListener(messageProcessor.Object, configuration);
            messageListener.Start();
        }
        public WhenDisposingListener()
        {
            var guid = Guid.NewGuid();
            var configuration = new FakeListenerConfiguration
                                    {
                                        Binding = @"\\.\pipe\" + guid,
                                        Mutex = "Harvester: " + guid
                                    };

            configuration["identity"] = "Everyone";

            messageListener = new PipeMessageListener(messageProcessor.Object, configuration);
            messageListener.Start();
        }