/// <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);
                }
            }
        }
Beispiel #2
0
 public virtual void Execute()
 {
     ExecuteAction.Execute(Sheet);
 }