data/CommandHandler¶
Classes¶
CommandHandler¶
Defined in: data/CommandHandler.ts:29
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:82
Parameters¶
app¶
Returns¶
Methods¶
getAllHandledCommands()¶
Defined in: data/CommandHandler.ts:90
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:99
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:13
Result of command processing
Properties¶
handled¶
Defined in: data/CommandHandler.ts:15
Whether the command was handled by this handler
sendToServer¶
Defined in: data/CommandHandler.ts:17
Whether the command should be sent to the BlueSky server
modifiedCommand?¶
Defined in: data/CommandHandler.ts:19
Modified command to send (if different from original)