Exemplo n.º 1
0
        /// <summary>
        /// Starts the Pipe Server Thread
        /// </summary>
        public bool StartPipeServerThread()
        {
            _logger.Debug("Starting pipe server thread");

            PipeServer = PipeServer.CreateSessionPipeServer(PipeName);

            if (!PipeServer.Start())
            {
                return(false);
            }

            JobInfoQueue.Instance.AddEventHandler(PipeServer);

            return(true);
        }
Exemplo n.º 2
0
 private void CreateSessionPipe()
 {
     _pipeName   = "TestPipe" + RandomString(8);
     _pipeServer = PipeServer.CreateSessionPipeServer(_pipeName);
 }