/* (non-Javadoc)
  * @see cc.creativecomputing.app.CCWatchDog.CCWatchDogCommandHandler#onCommand(java.lang.String)
  */
 public void onCommand(String theValue) {
   try {
     float myFrameRate = Float.parseFloat(theValue);
     if (myFrameRate < _myMinFrameRate) endProcess();
   } catch (NumberFormatException e) {
     CCLog.error("# COULD NOT READ FRAMERATE:" + theValue);
   }
 }
  private void parseTextLine(final String theLine) {
    if (!theLine.startsWith("-")) {
      CCLog.error("Can not parse arguments:" + theLine);
      return;
    }

    String[] myCommandArray = theLine.split(" ", 2);
    String myCommand = myCommandArray[0];
    String myValue = "";
    if (myCommandArray.length > 1) {
      myValue = myCommandArray[0];
    }

    List<CCWatchDogCommandHandler> myCommandHandlers = _myCommandHandlerMap.get(myCommand);
    if (myCommandHandlers != null) {
      for (CCWatchDogCommandHandler myCommandHandler : myCommandHandlers) {
        myCommandHandler.onCommand(myValue);
      }
    }
  }