Breadcrumb
- Sabre Red 360 Software Development Kit Help
- Desktop Red Apps
- Communications in Red Apps
- Emulator Command Intercept and Markup Services
- Flow for Defining Your Own Command
Flow for Defining Your Own Command
-
The Red App starts up. It registers a service with the name EMU_COMMAND.
-
The end-user types a command in Sabre emulator.
-
The service retrieves EmulatorCommandRequest if the command matches the registered action code.
-
The service processes the typed command.
-
The service sets new EmulatorCommandResponse() as the response in ServiceContext. Do not set anything in the setCommand() method.
-
The command is not sent to Sabre emulator.