private void ReceiveLoop()
        {
            Logger.Log(LogLevel.Info, "Waiting for connection...");
            receivePipeStream.WaitForConnection();
            Logger.Log(LogLevel.Info, "Got connection! Processing messages!");

            while (true)
            {
                serviceReceiver.ProcessMessage();
                receivePipeStream.Flush();
            }
        }
Exemplo n.º 2
0
        static void StartPipeHandler()
        {
            threadID = ThreadHelper.GetCurrentThreadId();
            servicePipe.WaitForConnection();

            while (running)
            {
                serviceReceiver.ProcessMessage();
                servicePipe.Flush();
            }

            servicePipe?.Dispose();
        }
Exemplo n.º 3
0
        void StartPipeHandler()
        {
            threadID = ThreadHelper.GetCurrentThreadId();
            captureServicePipe.WaitForConnection();

            while (running)
            {
                listenerReceiver.ProcessMessage();
                captureServicePipe.Flush();
            }

            captureServicePipe?.Dispose();
        }