Esempio n. 1
0
 public void Send(BaseCommand command)
 {
     if (command is HelloCommand)
         this.Send(command.ToString());
     else
     {
         if (this.Board.IsConnected)
             this.Send(command.ToString());
     }
 }
Esempio n. 2
0
 public void Send(BaseCommand command)
 {
     commandHandler.Send(command);
 }