示例#1
0
        private void InnerProcessLogic()
        {
            while (true)
            {
                var cmd = this.incomeCommand.Take();

                var result = Process(cmd);

                if (result.ConnectionWorker.IsTagged)
                {
                    return;
                }

                ServerRuntime.AddCommandResultToOutgoingQueueRepository(result);

                this.pipeProcessorPool.BackIntoPool(this);
            }
        }