public NamedPipesWriteQueue() { _clientStream = new NamedPipeClientStream(Constants.ThisMachineServerName, Constants.PipeName, PipeDirection.Out); _timer = new Timer(WriteToQueue); _initTime = DateTime.Now; var inProcQueue = new InProcQueue(); _readQueue = inProcQueue; _writeQueue = inProcQueue; Trace("Starting up."); ResetTimer(); }