Exemplo n.º 1
0
        /// <summary>
        /// Reads the next set of actions from the given stream, then sends them to the
        /// ExecuteAction utility to be executed.
        /// </summary>
        /// <param name="clientStream"></param>
        private void ReadAndExecuteNextActions(BTDataIO clientStream)
        {
            List <string> sentAction = clientStream.Read();

            if (sentAction.Count > 0) // TODO greater than 0
            {
                foreach (string action in sentAction)
                {
                    ExecuteAction.Execute(action);
                }
            }
        }
Exemplo n.º 2
0
 public virtual void Execute()
 {
     ExecuteAction.Execute(Sheet);
 }