示例#1
0
 protected virtual void SendCommand(ICommand command)
 {
     if (Transport == null)
     {
         if (Tracer.IsFatalEnabled)
         {
             Tracer.Fatal("No transport configured so cannot return command: " + command);
         }
     }
     else
     {
         Transport.Command(Transport, command);
     }
 }