data/CommandHandler¶
Classes¶
CommandHandler¶
Defined in: data/CommandHandler.ts:30
CommandHandler processes commands before they are sent to the server. It handles: 1. Local commands that are executed client-side only (PAN, ZOOM, etc.) 2. Commands that need preprocessing before sending to server (MCRE with bbox) 3. Commands that need special client-side handling (QUIT)
Constructors¶
Constructor¶
Defined in: data/CommandHandler.ts:83
Parameters¶
app¶
Returns¶
Methods¶
getAllHandledCommands()¶
Defined in: data/CommandHandler.ts:91
All commands handled by this CommandHandler — the single source of truth the console merges into its autocomplete list.
Returns¶
string[]
handleCommand()¶
Defined in: data/CommandHandler.ts:100
Main entry point for command processing
Parameters¶
command¶
string
The raw command string from the console
Returns¶
CommandResult indicating how to handle the command
Interfaces¶
CommandResult¶
Defined in: data/CommandHandler.ts:14
Result of command processing
Properties¶
handled¶
Defined in: data/CommandHandler.ts:16
Whether the command was handled by this handler
sendToServer¶
Defined in: data/CommandHandler.ts:18
Whether the command should be sent to the BlueSky server
modifiedCommand?¶
Defined in: data/CommandHandler.ts:20
Modified command to send (if different from original)