Ejemplo n.º 1
0
        public string execute(CommandInterpreter commandInterpreter, string[] array)
        {
            StringBuilder stringBuilder = new StringBuilder();

            for (int i = 1; i < array.Length; i++)
            {
                stringBuilder.append(array[i]).append(' ');
            }
            commandInterpreter.putResponse(this.val_sci.sendCommandGetResponse(stringBuilder.toString()));
            while (this.val_sci.isResponse())
            {
                commandInterpreter.putResponse(this.val_sci.getResponse());
            }
            return("");
        }
Ejemplo n.º 2
0
 public string execute(CommandInterpreter commandInterpreter, string[] array)
 {
     while (this.val_sci.isResponse())
     {
         commandInterpreter.putResponse(this.val_sci.getResponse());
     }
     return("");
 }