Skip Navigation

Flow for Defining Your Own Command

  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 retrieves EmulatorCommandRequest if the command matches the registered action code.

  4. The service processes the typed command.

  5. The service sets new EmulatorCommandResponse() as the response in ServiceContext. Do not set anything in the setCommand() method.

  6. The command is not sent to Sabre emulator.