Skip Navigation

Simple Flow for Intercepting and Modifying Commands

  1. The Red App starts up. It registers a service with the name EMU_COMMAND.

  2. The end-user types a command in Sabre emulator.

  3. The service receives the command before it sends the command to the host in the form of an EmulatorCommandRequest class instance (the request in service context).

  4. The service modifies the command and returns the modified command as an EmulatorCommandResponse object (the response in service context).

  5. The modified command is sent to the host and the response is displayed in Sabre emulator.