Esempio n. 1
0
        public void OnNewCommand(InvokeHeader invoke_header)
        {
            var command_header = _commandRepository.Get(new[] { invoke_header }).First();

            _functionRepository.AddHeaders(new [] { command_header.FunctionHeader });
            _dataCellRepository.AddHeaders(new [] { command_header.OutputDataHeader });
            _dataCellRepository.AddHeaders(command_header.InputDataHeaders);

            //Console.WriteLine(string.Format("CommandManager.OnNewCommand Callstack={0}", string.Join("/", invoke_header.CallStack)));
            PrepareOrSendToWait(new[] { command_header });
        }